first interpreted tests, fix branch issues

whole branch logic wobbly
better syntax needed, but working(ish) for now
This commit is contained in:
Torsten Ruger
2015-10-19 14:46:12 +03:00
parent d767caf479
commit bdcd0f297d
12 changed files with 99 additions and 123 deletions

View File

@ -11,9 +11,9 @@ module Register
attr_reader :block
def to_s
"Branch: #{block.name}"
"#{self.class.name}: #{block.name}"
end
alias :inspect :to_s
alias :inspect :to_s
end
class IsZeroBranch < Branch