Class: Whitespace::ISA::Add
- Inherits:
-
Binop
- Object
- Instruction
- Binop
- Whitespace::ISA::Add
- Defined in:
- lib/whitespace/instructions/arithmetic/add.rb
Instance Attribute Summary
Attributes inherited from Instruction
Instance Method Summary collapse
-
#initialize(vm) ⇒ Add
constructor
A new instance of Add.
Methods inherited from Binop
Methods inherited from Instruction
Constructor Details
#initialize(vm) ⇒ Add
Returns a new instance of Add.
5 6 7 |
# File 'lib/whitespace/instructions/arithmetic/add.rb', line 5 def initialize(vm) super(vm, :add) end |