instance method RubyVM::InstructionSequence#inspect

inspect -> String[permalink][rdoc][edit]

self の情報をラベルとパスを含んだ人間に読みやすい文字列にして返します。



iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
iseq.inspect # => "<RubyVM::InstructionSequence:<compiled>@<compiled>>"

[SEE_ALSO] RubyVM::InstructionSequence#label, RubyVM::InstructionSequence#path