Class: DateTime

Inherits:
Object show all
Defined in:
lib/epitools/core_ext/misc.rb

Instance Method Summary collapse

Instance Method Details

#to_fObject



172
# File 'lib/epitools/core_ext/misc.rb', line 172

def to_f; to_time.to_f; end

#to_iObject



171
# File 'lib/epitools/core_ext/misc.rb', line 171

def to_i; to_time.to_i; end