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

don't enumerate ruby property accessors (foo=) as javascript properties.

This commit is contained in:
Charles Lowell 2010-08-02 16:50:43 -05:00
parent 87b1982464
commit f56a58ab78
2 changed files with 2 additions and 2 deletions

View file

@ -152,7 +152,7 @@ module V8
extend AccessibleMethods
def self.call(info)
obj = To.rb(info.This())
methods = accessible_methods(obj)
methods = accessible_methods(obj).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))

@ -1 +1 @@
Subproject commit d8d64af2cb47e913247691d6a18c0fa9dd94512b
Subproject commit d22bb78c3fef8bc8632f6733edd4b58e6e56d626