lib/attributor/families/temporal.rb in attributor-5.0.2 vs lib/attributor/families/temporal.rb in attributor-5.1.0

- old
+ new

@@ -1,9 +1,8 @@ # Abstract type for the 'temporal' family module Attributor - class Temporal include Type def self.native_type raise NotImplementedError @@ -11,12 +10,10 @@ def self.family 'temporal' end - def self.dump(value,**opts) + def self.dump(value, **_opts) value && value.iso8601 end - - end end