Class: DateTime

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

Instance Method Summary collapse

Instance Method Details

#to_fObject


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

def to_f; to_time.to_f; end

#to_iObject


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

def to_i; to_time.to_i; end