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

make the default ruby access the only access for now.

This commit is contained in:
Charles Lowell 2010-08-28 16:59:07 -05:00
parent 6e505d3e9e
commit a52b227328

View file

@ -1,17 +1,6 @@
require 'set'
module V8
class Access
def initialize
@impl = RubyAccess.new
end
def method_missing(name, *args, &blk)
@impl.send(name, *args, &blk)
end
end
class RubyAccess
def get(obj, name, &dontintercept)
methods = accessible_methods(obj)
if methods.include?(name)