mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
bug in named property enumerator
This commit is contained in:
parent
42507e4daf
commit
6f235622f2
1 changed files with 2 additions and 1 deletions
|
@ -166,7 +166,8 @@ module V8
|
|||
extend AccessibleMethods
|
||||
def self.call(info)
|
||||
obj = To.rb(info.This())
|
||||
methods = accessible_methods(obj).reject! {|m| m.to_s =~ /=$/}
|
||||
methods = accessible_methods(obj)
|
||||
methods.reject! {|m| m.to_s =~ /=$/}
|
||||
names = V8::C::Array::New(methods.length)
|
||||
methods.each_with_index do |name, i|
|
||||
names.Set(i, C::String::New(name))
|
||||
|
|
Loading…
Add table
Reference in a new issue