Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

Module#public_instance_methods

(?::boolish include_super) -> ::Array[::Symbol]
mod.public_instance_methods(include_super=true) → array

Returns a list of the public instance methods defined in mod. If the optional parameter is false, the methods of any ancestors are not included.