Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
use better preposition
  • Loading branch information
coke committed Oct 19, 2016
1 parent 5fb819c commit 2c64c21
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/Language/objects.pod6
Expand Up @@ -285,7 +285,7 @@ Private methods are invoked with an exclamation mark instead of a dot:
}
}
Private methods are not inherited to subclasses.
Private methods are not inherited by subclasses.
=head2 Submethods
Expand Down
2 changes: 1 addition & 1 deletion doc/Type/Metamodel/PrivateMethodContainer.pod6
Expand Up @@ -7,7 +7,7 @@
role Metamodel::PrivateMethodContainer { ... }
In Perl 6, classes, roles and grammars can have private methods, that is,
methods that are only callable from within the class, and are not inherited to
methods that are only callable from within the class, and are not inherited by
types derived by inheritance.
class A {
Expand Down
2 changes: 1 addition & 1 deletion doc/Type/Submethod.pod6
Expand Up @@ -6,7 +6,7 @@
class Submethod is Routine {}
A Submethod is a method that is not inherited to child classes. They are
A Submethod is a method that is not inherited by child classes. They are
typically used for per-class initialization and tear-down tasks which are
called explicitly per class in an inheritance tree, usually for enforcing a
particular order. For example object construction with the C<BUILD> submethod
Expand Down

0 comments on commit 2c64c21

Please sign in to comment.