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