572件ヒット
[1-100件を表示]
(0.046秒)
ライブラリ
- ビルトイン (77)
- coverage (7)
- csv (121)
- e2mmap (6)
-
irb
/ cmd / nop (22) -
irb
/ extend-command (22) - json (33)
- optparse (44)
- rake (44)
-
rake
/ packagetask (11) - readline (33)
-
ripper
/ lexer (11) -
rubygems
/ dependency _ installer (11) - tempfile (20)
- tracer (44)
-
webrick
/ httpproxy (11) - win32ole (22)
- zlib (33)
クラス
- Array (11)
- CSV (121)
- Coverage (7)
-
Gem
:: DependencyInstaller (11) -
IRB
:: ExtendCommand :: Nop (22) -
JSON
:: Parser (11) - Module (11)
- OptionParser (44)
-
Rake
:: InvocationChain (22) -
Rake
:: PackageTask (11) - Ripper (11)
-
RubyVM
:: InstructionSequence (33) - Tempfile (20)
- Thread (22)
- Tracer (44)
-
WEBrick
:: HTTPProxyServer (11) - WIN32OLE (11)
-
WIN32OLE
_ EVENT (11) -
Zlib
:: Deflate (11) -
Zlib
:: GzipWriter (22)
モジュール
- Exception2MessageMapper (6)
-
IRB
:: ContextExtender (22) - JSON (11)
-
JSON
:: Generator :: GeneratorMethods :: String :: Extend (11) - Rake (22)
- Readline (33)
キーワード
- accept (11)
- append (11)
- application (11)
- application= (11)
-
completion
_ append _ character (11) -
completion
_ append _ character= (11) -
completion
_ proc= (11) -
const
_ load (11) - constants (11)
- create (20)
-
create
_ id (11) -
def
_ extend _ command (11) - deflate (11)
- disasm (11)
- disassemble (11)
- execute (11)
-
extend
_ object (6) - filter (33)
- generate (11)
-
handle
_ interrupt (11) -
install
_ extend _ commands (11) -
json
_ create (11) - lex (11)
- new (99)
- of (11)
- open (44)
- parse (22)
-
pending
_ interrupt? (11) - reject (11)
-
set
_ get _ line _ procs (22) - start (7)
-
try
_ convert (11) - wrap (22)
検索結果
先頭5件
-
Tracer
. on -> nil (18121.0) -
トレース出力を開始します。 ブロックを与えられた場合はそのブロック内のみトレース出力を行います。
...トレース出力を開始します。
ブロックを与えられた場合はそのブロック内のみトレース出力を行います。
require 'tracer'
Tracer.on
class Test
def test
b = 2
end
end
t = Test.new
t.test
@see Tracer.off... -
Tracer
. on { . . . } (18121.0) -
トレース出力を開始します。 ブロックを与えられた場合はそのブロック内のみトレース出力を行います。
...トレース出力を開始します。
ブロックを与えられた場合はそのブロック内のみトレース出力を行います。
require 'tracer'
Tracer.on
class Test
def test
b = 2
end
end
t = Test.new
t.test
@see Tracer.off... -
Readline
. completion _ append _ character -> String (12201.0) -
ユーザの入力の補完が完了した場合に、最後に付加する文字を取得します。
...ユーザの入力の補完が完了した場合に、最後に付加する文字を取得します。
@raise NotImplementedError サポートしていない環境で発生します。
@see Readline.completion_append_character=... -
Readline
. completion _ append _ character=(string) (12201.0) -
ユーザの入力の補完が完了した場合に、最後に付加する文字 string を指定します。
...字を指定すれば、
連続して入力する際に便利です。
require 'readline'
Readline.readline("> ", true)
Readline.completion_append_character = " "
> /var/li
ここで補完(TABキーを押す)を行う。
> /var/lib
最後に" "が追加されているため、すぐ......ることはできないため、
例えば、"string"を指定した場合は最初の文字である"s"だけを使用します。
require 'readline'
Readline.completion_append_character = "string"
p Readline.completion_append_character # => "s"
@see Readline.completion_append_character... -
IRB
:: ContextExtender . def _ extend _ command(cmd _ name , load _ file , *aliases) -> object (12101.0) -
IRB::Context に cmd_name で指定したメソッドが実行できるように拡張 します。
...IRB::Context に cmd_name で指定したメソッドが実行できるように拡張
します。
@param cmd_name メソッド名を Symbol で指定します。
IRB::Context クラスのインスタンスメソッドとして定
義してある必要がありま... -
IRB
:: ContextExtender . install _ extend _ commands -> object (12101.0) -
定義済みの拡張を読み込みます。
...:Context で以下のメソッドが利用できるようになります。
* eval_history=
* use_tracer=
* math_mode=
* use_loader=
* save_history=
irb/extend-command が require された時にライブラリ内部で自動的
に実行されます。
@see IRB::ContextExtender.def_extend_c... -
JSON
:: Generator :: GeneratorMethods :: String :: Extend . json _ create(hash) -> String (12101.0) -
JSON のオブジェクトから Ruby の文字列を生成して返します。
...JSON のオブジェクトから Ruby の文字列を生成して返します。
@param hash キーとして "raw" という文字列を持ち、その値として数値の配列を持つハッシュを指定します。
require 'json'
String.json_create({"raw" => [0x41, 0x42, 0x43]}) # => "A... -
Rake
:: InvocationChain . append(task _ name , chain) -> Rake :: InvocationChain (9207.0) -
与えられたタスク名を第二引数の Rake::InvocationChain に追加します。
...与えられたタスク名を第二引数の Rake::InvocationChain に追加します。
@param task_name タスク名を指定します。
@param chain 既に存在する Rake::InvocationChain のインスタンスを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
tas......k default: :test_rake_app
task :test_rake_app do
chain = Rake::InvocationChain::EMPTY
b = Rake::InvocationChain.append("task_a", chain)
b.to_s # => "TOP => task_a"
end
//}... -
Exception2MessageMapper
. extend _ object(cl) -> () (9101.0) -
@todo
@todo
@param cl -
Rake
. application -> Rake :: Application (6207.0) -
現在の Rake アプリケーションを返します。
...e 'pp'
task default: :test_rake_app
task :test_rake_app do
pp Rake.application
end
# => #<Rake::Application:0x31b0f18
# @default_loader=#<Rake::DefaultLoader:0x31b0c78>,
# @imported=[],
# @last_description=nil,
# @loaders=
# {".rb"=>#<Rake::DefaultLoader:0x31b0c18>,
#......31b0b88>,
# ".rake"=>#<Rake::DefaultLoader:0x31b0b10>},
# @name="rake",
# @options=#<OpenStruct rakelib=["rakelib"], trace_output=#<IO:<STDERR>>>,
# @original_dir="/path/to/dir",
# @pending_imports=[],
# @rakefile="rakefile",
# @rakefiles=["rakefile", "Rakefile", "rakef...