mod.instance_methods(include_super=true) â array
Instance Public methods
Returns an array containing the names of the public and protected instance
methods in the receiver. For a module, these are the public and protected
methods; for a class, they are the instance (not singleton) methods. With
no argument, or with an argument that is false, the instance
methods in mod are returned, otherwise the methods in mod
and mod's superclasses are returned.
module A
def method1() end
e