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