# File lib/dm-types/epoch_time.rb, line 14 def self.dump(value, property) case value when Integer, Time then value.to_i when DateTime then value.to_time.to_i end end