lib/avromatic/model/value_object.rb in avromatic-0.32.0 vs lib/avromatic/model/value_object.rb in avromatic-0.33.0
- old
+ new
@@ -15,10 +15,10 @@
def inspect
"#<#{self.class.name} #{attributes.map { |k, v| "#{k}: #{v.inspect}" }.join(', ')}>"
end
def to_s
- format('#<%s:0x00%x>', self.class.name, object_id.abs * 2)
+ format('#<%<class_name>s:0x00%<identifier>x>', class_name: self.class.name, identifier: object_id.abs * 2)
end
end
end
end