diff options
Diffstat (limited to 'lib/delegate.rb')
-rw-r--r-- | lib/delegate.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/delegate.rb b/lib/delegate.rb index 2086a721f9..863c63ff58 100644 --- a/lib/delegate.rb +++ b/lib/delegate.rb @@ -92,8 +92,8 @@ class Delegator < BasicObject # Returns the methods available to this delegate object as the union # of this object's and \_\_getobj\_\_ methods. # - def methods - __getobj__.methods | super + def methods(all=true) + __getobj__.methods(all) | super end # |