method

to_binary

Importance_1
v2_6_3 - Show latest stable - 0 notes - Class: InstructionSequence
to_binary(*args) public

Returns serialized iseq binary format data as a String object. A corresponding iseq object is created by RubyVM::InstructionSequence.load_from_binary() method.

String extra_data will be saved with binary data. You can access this data with RubyVM::InstructionSequence.load_from_binary_extra_data(binary).

Note that the translated binary data is not portable. You can not move this binary data to another machine. You can not use the binary data which is created by another version/another architecture of Ruby.

Show source
Register or log in to add new notes.