Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

Module#public_instance_methods

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.