struct StackMachine::Load
- StackMachine::Load
- Struct
- Value
- Object
Overview
Struct for Load opcode
Defined in:
stackmachine/opcode.crConstructors
Instance Method Summary
-
#call(& : Int32 -> ) : Void
Pass in a block to perform specified operation with the underlying index
Constructor Detail
Instance Method Detail
def call(& : Int32 -> ) : Void
#
Pass in a block to perform specified operation with the underlying index
Load.new.call do | index |
do_something_with index
end