Module: V8::Conversion::Time

Defined in:
lib/v8/conversion/time.rb

Instance Method Summary collapse

Instance Method Details

#to_v8Object


3
4
5
# File 'lib/v8/conversion/time.rb', line 3

def to_v8
  V8::C::Date::New(to_f * 1000)
end