Libraries
»
dm-types
(1.2.2)
»
Index
»
DataMapper
»
Property
»
EpochTime
»
#dump
Method: DataMapper::Property::EpochTime#dump
Defined in:
lib/dm-types/epoch_time.rb
#
dump
(value) ⇒
Object
15 16 17
# File 'lib/dm-types/epoch_time.rb', line 15
def
dump
(
value
)
value
.
to_i
if
value
end