class Duststorm::Attribute::Time
Public Instance Methods
coerce(value)
click to toggle source
# File lib/duststorm/attribute/time.rb, line 4 def coerce(value) return unless value ::Time.at(value) end
# File lib/duststorm/attribute/time.rb, line 4 def coerce(value) return unless value ::Time.at(value) end