diff options
Diffstat (limited to 'lib/delegate.rb')
-rw-r--r-- | lib/delegate.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/delegate.rb b/lib/delegate.rb index 165e54a727..a961cbaad3 100644 --- a/lib/delegate.rb +++ b/lib/delegate.rb @@ -262,9 +262,9 @@ def DelegateClass(superclass) klass = Class.new methods = superclass.public_instance_methods(true) methods -= [ - "__id__", "object_id", "__send__", "__send", "__send!", "respond_to?", "send", "funcall", - "==", "equal?", "initialize", "method_missing", "__getobj__", "__setobj__", - "clone", "dup", "marshal_dump", "marshal_load", + :__id__, :object_id, :__send__, :__send, :__send!, :respond_to?, :send, :funcall, + :==, :equal?, :initialize, :method_missing, :__getobj__, :__setobj__, + :clone, :dup, :marshal_dump, :marshal_load, ] klass.module_eval { include Delegator::MethodDelegation |