308件ヒット
[301-308件を表示]
(0.014秒)
ライブラリ
- ビルトイン (156)
- benchmark (12)
- csv (12)
- rake (12)
-
rubygems
/ dependency _ installer (12)
クラス
- CSV (12)
-
Encoding
:: Converter (48) -
Gem
:: DependencyInstaller (12) - Hash (12)
- IO (24)
- Object (36)
-
RubyVM
:: InstructionSequence (24)
モジュール
- Benchmark (12)
- Kernel (12)
-
Rake
:: Cloneable (12)
キーワード
-
$ stdin (12) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) -
DEFAULT
_ OPTIONS (12) -
NEWS for Ruby 2
. 5 . 0 (8) - Ruby用語集 (12)
- bmbm (12)
- clone (24)
- disasm (12)
- disassemble (12)
- generate (12)
-
initialize
_ copy (12) -
primitive
_ convert (48) - replace (12)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) - クラス/メソッドの定義 (12)
検索結果
-
RubyVM
:: InstructionSequence . disassemble(body) -> String (12.0) -
引数 body で指定したオブジェクトから作成した RubyVM::InstructionSequence オブジェクトを人間が読める形式の文字 列に変換して返します。
...1
0004 putobject 2
0006 opt_plus <ic:1>
0008 dup
0009 setlocal num, 0
0012 leave
例2:Method オブジェクトを指定した場合
# /tmp/method.rb
def hello
puts "hello, world"
end
puts RubyVM::InstructionSequence.disasm(method(:hello))
出力:......( 1)
0002 trace 1 ( 2)
0004 putself
0005 putstring "hello, world"
0007 send :puts, 1, nil, 8, <ic:0>
0013 trace 16 ( 3)
0015 leave...