1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00

the dontintercept block is not getting passed

This commit is contained in:
Charles Lowell 2012-06-16 07:45:07 -05:00
parent 0f691539e8
commit 3527ac7462

View file

@ -2,7 +2,7 @@ class V8::Access
module Indices
def indices(obj)
obj.respond_to?(:length) ? (0..obj.length).to_a : yield
obj.respond_to?(:length) ? (0..obj.length).to_a : []
end
def iget(obj, index, &dontintercept)