struct

StackMachine::JumpTrue

Inherits Struct < Value < Object

Struct for JumpTrue opcode

Constructors

new(index : Int32 | Symbol)
Source

Instance methods

call

Pass in a block to perform specified operation with the underlying index

JumpTrue.new.call do | index |
  do_something_with index
end
Source