eval

iseq.eval รข obj
Instance Public methods

Evaluates the instruction sequence and returns the result.

RubyVM::InstructionSequence.compile("1 + 2").eval #=> 3
doc_ruby_on_rails
2015-05-13 21:06:20
Comments
Leave a Comment

Please login to continue.