lib/avromatic/model/value_object.rb in avromatic-0.4.0 vs lib/avromatic/model/value_object.rb in avromatic-0.5.0
- old
+ new
@@ -12,14 +12,14 @@
def hash
attributes.hash
end
def inspect
- "#<#{self.class.name} #{attributes.map { |k, v| "#{k}: #{v.inspect}" }.join(', ') }>"
+ "#<#{self.class.name} #{attributes.map { |k, v| "#{k}: #{v.inspect}" }.join(', ')}>"
end
def to_s
- "#<%s:0x00%x>" % [self.class.name, object_id.abs * 2]
+ format('#<%s:0x00%x>', self.class.name, object_id.abs * 2)
end
end
end
end