Libraries
»
therubyracer
(0.12.3)
»
Index (T)
»
V8
»
Conversion
»
Time
Module: V8::Conversion::Time
Defined in:
lib/v8/conversion/time.rb
Instance Method Summary
collapse
#
to_v8
⇒ Object
Instance Method Details
#
to_v8
⇒
Object
3 4 5
# File 'lib/v8/conversion/time.rb', line 3
def
to_v8
V8
::
C
::
Date
::
New
(
to_f
*
1000
)
end