X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FObject.pm;h=8dbd984c9882337ebe4b7cf65ab032dd08732eeb;hb=3900cea16697e2d5ddc24b6284c5c1f2a858c6b0;hp=06b7cde340e9141d986d63189b0acf96fa831a05;hpb=2dc42d4284cf4e46fa7a078e1359f1ad9aeb558d;p=gitmo%2FMoose.git diff --git a/lib/Moose/Object.pm b/lib/Moose/Object.pm index 06b7cde..8dbd984 100644 --- a/lib/Moose/Object.pm +++ b/lib/Moose/Object.pm @@ -151,14 +151,14 @@ but it makes it easier to take advantage of all of Moose's features. =over 4 -=item B<< Moose::Object->new(%params) >> +=item B<< Moose::Object->new(%params|$params) >> This method calls C<< $class->BUILDARGS(@_) >>, and then creates a new instance of the appropriate class. Once the instance is created, it calls C<< $instance->BUILD($params) >> for each C method in the inheritance hierarchy. -=item B<< Moose::Object->BUILDARGS(%params) >> +=item B<< Moose::Object->BUILDARGS(%params|$params) >> The default implementation of this method accepts a hash or hash reference of named parameters. If it receives a single argument that @@ -173,7 +173,7 @@ This method should always return a hash reference of named options. This returns true if the object does the given role. -=item B +=item B<< $object->DOES($class_or_role_name) >> This is a a Moose role-aware implementation of L.