るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.011秒)
トップページ > クエリ:format[x] > クラス:RubyVM::InstructionSequence[x]

別のキーワード

  1. benchmark format
  2. logger datetime_format
  3. logger datetime_format=
  4. tms format
  5. ipaddr in6format

ライブラリ

検索結果

RubyVM::InstructionSequence#to_a -> Array (7.0)

self の情報を 14 要素の配列にして返します。

...を示す文字列。常に
"YARVInstructionSequence/SimpleDataFormat"。

: major_version

命令シーケンスのメジャーバージョン。

: minor_version

命令シーケンスのマイナーバージョン。

: format_type

データフォーマットを示す数値。常に 1。...
...ランドの配列の配列。


//emlist[例][ruby]{
require 'pp'

iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
pp iseq.to_a
# ※ Ruby 2.5.0 での実行結果
# => ["YARVInstructionSequence/SimpleDataFormat",
# 2,
# 0,
# 1,
# {:arg_size=>0, :local_size=>2, :stack_max=>2},
# "<compile...