lib/zold/id.rb in zold-0.13.34 vs lib/zold/id.rb in zold-0.13.35
- old
+ new
@@ -49,9 +49,13 @@
def==(other)
raise 'Can only compare with Id' unless other.is_a?(Id)
to_s == other.to_s
end
+ def to_str
+ to_s
+ end
+
def to_s
format('%016x', @id)
end
end
end