Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Delegator#public_methods
(?untyped all) -> ::Array[::Symbol]
public_methods(all=true)
lib/delegate.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/delegate.rb, line 139
def public_methods(all=true)
__getobj__.public_methods(all) | super
end
Returns the methods available to this delegate object as the union of this object’s and __getobj__ public methods.