Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Delegator#methods
methods(all=true)
lib/delegate.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/delegate.rb, line 131
def methods(all=true)
__getobj__.methods(all) | super
end
Returns the methods available to this delegate object as the union of this object’s and __getobj__ methods.
See also
#method_missing
#protected_methods
#marshal_load
#public_methods
also in
4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0