Class: Time

Inherits:
Object show all
Defined in:
lib/tagen/core/time.rb

Class Method Summary collapse

Class Method Details

.timeFloat

return a float of current time

#=> 1295953427.0005338

Returns:

  • (Float)


7
# File 'lib/tagen/core/time.rb', line 7

def self.time; now.to_f end