Class: Whitespace::ISA::End

Inherits:
Instruction show all
Defined in:
lib/whitespace/instructions/flow_control/end.rb

Instance Attribute Summary

Attributes inherited from Instruction

#vm

Instance Method Summary collapse

Methods inherited from Instruction

#initialize

Constructor Details

This class inherits a constructor from Whitespace::ISA::Instruction

Instance Method Details

#executeObject

Raises:



3
4
5
# File 'lib/whitespace/instructions/flow_control/end.rb', line 3

def execute
  raise Whitespace::Halt
end