fix tests (just using local gem)

This commit is contained in:
Torsten Ruger
2015-08-04 22:01:20 +03:00
parent 9680ff2a71
commit 21b0702154
9 changed files with 110 additions and 12 deletions

View File

@ -0,0 +1,18 @@
module Register
class OperatorInstruction < Instruction
def initialize source , operator , left , right
super(source)
@operator = operator
@left = left
@right = right
end
attr_reader :left , :right
def to_s
"OperatorInstruction: #{left} #{operator} #{right}"
end
end
end