Skip to content

Commit 8cfb6db

Browse files
committed
Eliminates TODO refs #2277
1 parent 396b8fc commit 8cfb6db

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

doc/Type/Submethod.pod6

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@
77
class Submethod is Routine {}
88
99
A Submethod is a method that is not inherited by child classes. They are
10-
typically used for per-class initialization and tear-down tasks which are
11-
called explicitly per class in an inheritance tree, usually for enforcing a
12-
particular order. For example object construction with the C<BUILD> submethod
13-
happens from the least-derived to most-derived, so that the most-derived
14-
(child) classes can depend on the parent already being initialized.
10+
typically used for per-class initialization and tear-down tasks which
11+
are called explicitly per class in an inheritance tree, usually for
12+
enforcing a particular order. For example object construction with the
13+
C<BUILD> submethod happens from the least-derived to most-derived, so
14+
that the most-derived (child) classes can depend on the parent already
15+
being initialized.
1516
16-
Submethods are of type C<Submethod>, and are declared with the C<submethod>
17-
declarator:
17+
Submethods are of type C<Submethod>, and are declared with the
18+
C<submethod> declarator:
1819
1920
class Area {
2021
has $.size;
@@ -25,7 +26,13 @@ declarator:
2526
2627
=head1 Methods
2728
28-
=comment TODO
29+
=head2 method gist
30+
31+
Defined as:
32+
33+
multi method gist(Submethod:D:)
34+
35+
Returns the name of the submethod.
2936
3037
=end pod
3138

0 commit comments

Comments
 (0)