Module: V8::Conversion::NativeDate

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

Instance Method Summary collapse

Instance Method Details

#to_rubyObject



9
10
11
# File 'lib/v8/conversion/time.rb', line 9

def to_ruby
  ::Time.at(self.NumberValue() / 1000)
end