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