projects
/
gitmo/Class-MOP.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
6f241a6
)
document the return value of add_attribute
Karen Etheridge [Wed, 29 Sep 2010 00:04:39 +0000 (17:04 -0700)]
lib/Class/MOP/Class.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Class/MOP/Class.pm
b/lib/Class/MOP/Class.pm
index
122ed9a
..
0b8efcc
100644
(file)
--- a/
lib/Class/MOP/Class.pm
+++ b/
lib/Class/MOP/Class.pm
@@
-1793,6
+1793,8
@@
class when the attribute is added.
If an attribute of the same name already exists, the old attribute
will be removed first.
+The added attribute will be returned.
+
=item B<< $metaclass->remove_attribute($attribute_name) >>
This will remove the named attribute from the class, and