Class: Time

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

Class Method Summary (collapse)

Class Method Details

+ (Float) time

return a float of current time

#=> 1295953427.0005338


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

def self.time; now.to_f end