Libraries
»
cutter
(0.8.9)
»
Index (T)
»
Time
Class: Time
Inherits:
Object
Object
Time
show all
Defined in:
lib/cutter/stamper.rb
Instance Method Summary
collapse
#
ms_since
(time) ⇒ Object
Instance Method Details
#
ms_since
(time) ⇒
Object
2 3 4
# File 'lib/cutter/stamper.rb', line 2
def
ms_since
time
(
(
Time
.
now
-
time
)
*
1000
)
.
to_i
end