1件ヒット
[1-1件を表示]
(0.335秒)
トップページ > クラス:RubyVM::InstructionSequence > :特異メソッド > :compile > :2.4.0 > :load_from_binary_extra_data
ライブラリ
- ビルトイン (1)
検索結果
-
RubyVM
:: InstructionSequence . load _ from _ binary _ extra _ data(binary) -> String (54346.0) -
バイナリフォーマットの文字列から埋め込まれたextra_dataを取り出します。
...埋め込まれたextra_dataを取り出します。
//emlist[例][ruby]{
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
binary = iseq.to_binary("extra_data")
RubyVM::InstructionSequence.load_from_binary_extra_data(binary) # => extra_data
//}
@see RubyVM::InstructionSequence#to_binary...