method

eval

ruby latest stable - Class: RubyVM::InstructionSequence
eval()
public

Evaluates the instruction sequence and returns the result.

RubyVM::InstructionSequence.compile("1 + 2").eval #=> 3