lib/v8/object.rb in therubyracer-0.7.1 vs lib/v8/object.rb in therubyracer-0.7.2.pre
- old
+ new
@@ -9,10 +9,10 @@
raise ScriptError, "V8::Object.new called without an open V8 context" unless @context
end
def [](key)
@context.enter do
- To.ruby(@native.Get(To.v8(key)))
+ To.rb(@native.Get(To.v8(key)))
end
end
def []=(key, value)
value.tap do
\ No newline at end of file