method
protected_instance_methods
protected_instance_methods(*args)
public
Register or
log in
to add new notes.
szeryf -
February 8, 2009
0 thanks
Can be used on classes, too
For example:
class C protected def foo end end p C.protected_instance_methods(false)
outputs:
["foo"]