Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
MOP: mention that .^methods actually returns a list of method objects
  • Loading branch information
moritz committed Feb 16, 2014
1 parent 861e01f commit cbe2e65
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/objects.pod
Expand Up @@ -499,6 +499,9 @@ L<Cool>, L<Any> or L<Mu>; to really get all methods, use the C<:all> adverb.
say A.^methods(); # x
say A.^methods(:all); # x infinite defined ...
The returned list actually returns objects of type L<Method>, which you can
use to introspect their signatures, and even to call them.
=head3 mro
Returns the list of the class itself and its superclasses in method resolution
Expand Down

0 comments on commit cbe2e65

Please sign in to comment.