eval

iseq.eval â obj
Instance Public methods

Evaluates the instruction sequence and returns the result.

1
RubyVM::InstructionSequence.compile("1 + 2").eval #=> 3
doc_ruby_on_rails
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.