Class: Time
Class Method Summary collapse
-
.time ⇒ Float
return a float of current time.
Class Method Details
.time ⇒ Float
return a float of current time
#=> 1295953427.0005338
7 |
# File 'lib/tagen/core/time.rb', line 7 def self.time; now.to_f end |