Skip to content

Commit 0097c67

Browse files
authored
remove the $name parameter that add_attribute doesn't take
thanks to pheix++ on irc for the tip
1 parent 5811e64 commit 0097c67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Type/Metamodel/AttributeContainer.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ attributes is implemented by this role.
1313
1414
=head2 method add_attribute
1515
16-
method add_attribute(Metamodel::AttributeContainer: $obj, $name, $attribute)
16+
method add_attribute(Metamodel::AttributeContainer: $obj, $attribute)
1717
1818
Adds an attribute. C<$attribute> must be an object that supports the
1919
methods C<name>, C<type> and C<package>, which are called without arguments.

0 commit comments

Comments
 (0)