small fixes

This commit is contained in:
Torsten Ruger
2015-05-29 12:33:59 +03:00
parent a46b2d5c56
commit 73e5ec550a
3 changed files with 6 additions and 6 deletions

View File

@ -10,9 +10,6 @@ module Register
attr_accessor :symbol
def initialize r
if( r.is_a? Fixnum)
r = "r#{r}".to_sym
end
raise "wrong type for register init #{r}" unless r.is_a? Symbol
raise "double r #{r}" if r == :rr1
@symbol = r