lib/avromatic/model/attribute/abstract_timestamp.rb in avromatic-0.9.0.rc7 vs lib/avromatic/model/attribute/abstract_timestamp.rb in avromatic-0.9.0

- old
+ new

@@ -10,16 +10,16 @@ value.is_a?(Time) ? coerce_time(value) : value end def value_coerced?(_value) - raise 'subclass must implement `value_coerced?`' + raise "#{__method__} must be overridden by #{self.class.name}" end private def coerce_time(_value) - raise 'subclass must implement `coerce_time`' + raise "#{__method__} must be overridden by #{self.class.name}" end end end end end