Skip to content

Commit 99aef50

Browse files
committed
Document Attribute.type
1 parent 2fda12d commit 99aef50

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/Type/Attribute.pod

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ Returns C<True> if the attribute has a public accessor method.
5858
Returns C<True> for readonly attributes, which is the default.
5959
Returns C<False> for attributes marked as C<is rw>.
6060
61+
=head2 method type
62+
63+
method type(Attribute:D:) returns Mu
64+
65+
Returns the type constraint of the attribute.
66+
6167
=head2 method get_value
6268
6369
method get_value(Attribute:D: Mu $instance)

0 commit comments

Comments
 (0)