Class: Time
Class Method Summary (collapse)
-
+ (Float) time
return a float of current time.
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 |