small to_s changes
This commit is contained in:
parent
4ce4775902
commit
13eb017394
@ -17,7 +17,9 @@ module Register
|
||||
end
|
||||
|
||||
def to_s
|
||||
"#{symbol}:#{type}:#{value}"
|
||||
s = "#{symbol}:#{type}"
|
||||
s += ":#{value}" if value
|
||||
s
|
||||
end
|
||||
|
||||
def self.look_like_reg is_it
|
||||
|
Loading…
Reference in New Issue
Block a user