iseq.eval â obj
Instance Public methods
Evaluates the instruction sequence and returns the result.
1 | RubyVM::InstructionSequence.compile( "1 + 2" ).eval #=> 3 |
Evaluates the instruction sequence and returns the result.
1 | RubyVM::InstructionSequence.compile( "1 + 2" ).eval #=> 3 |
Designed by : w10schools
service@w10schools.com
Please login to continue.