Module: V8::Conversion::Fundamental

Included in:
V8::Conversion
Defined in:
lib/v8/conversion/fundamental.rb

Instance Method Summary collapse

Instance Method Details

#to_ruby(v8_object) ⇒ Object



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

def to_ruby(v8_object)
  v8_object.to_ruby
end

#to_v8(ruby_object) ⇒ Object



7
8
9
# File 'lib/v8/conversion/fundamental.rb', line 7

def to_v8(ruby_object)
  ruby_object.to_v8
end