Class: Whitespace::ISA::Mod

Inherits:
Binop show all
Defined in:
lib/whitespace/instructions/arithmetic/mod.rb

Instance Attribute Summary

Attributes inherited from Instruction

#vm

Instance Method Summary collapse

Methods inherited from Binop

#execute

Methods inherited from Instruction

#execute

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