Skip to content

Commit 7192e48

Browse files
committed
Deindentation here and there and minor rephrasing
1 parent ba29e48 commit 7192e48

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/Type/Metamodel/PrivateMethodContainer.pod6

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
role Metamodel::PrivateMethodContainer { ... }
88
99
I<Warning>: this role is part of the Rakudo implementation, and is not
10-
a part of the language specification.
10+
a part of the Raku language specification.
1111
1212
In Raku, classes, roles and grammars can have private methods, that is,
13-
methods that are only callable from within the class, and are not inherited by
13+
methods that are only callable from within it, and are not inherited by
1414
types derived by inheritance.
1515
1616
class A {
@@ -33,35 +33,35 @@ attributes with methods.
3333
=head2 method add_private_method
3434
3535
=for code :skip-test
36-
method add_private_method(Metamodel::PrivateMethodContainer: $obj, $name, $code)
36+
method add_private_method(Metamodel::PrivateMethodContainer: $obj, $name, $code)
3737
3838
Adds a private method C<$code> with name C<$name>.
3939
4040
=head2 method private_method_table
4141
4242
=for code :skip-test
43-
method private_method_table(Metamodel::PrivateMethodContainer: $obj)
43+
method private_method_table(Metamodel::PrivateMethodContainer: $obj)
4444
4545
Returns a hash of C«name => &method_object»
4646
4747
=head2 method private_methods
4848
4949
=for code :skip-test
50-
method private_methods($obj)
50+
method private_methods($obj)
5151
5252
Returns a list of private method names.
5353
5454
=head2 method private_method_names
5555
5656
=for code :skip-test
57-
method private_method_names($obj)
57+
method private_method_names($obj)
5858
5959
Alias to C<private_methods>.
6060
6161
=head2 method find_private_method
6262
6363
=for code :skip-test
64-
method find_private_method($obj, $name)
64+
method find_private_method($obj, $name)
6565
6666
Locates a private method. Otherwise, returns L<C<Mu>|/type/Mu> if it doesn't
6767
exist.

0 commit comments

Comments
 (0)