Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Mention that TWEAK is a new feature
  • Loading branch information
moritz committed Nov 11, 2016
1 parent d9f1d14 commit 6ffc43a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/Language/objects.pod6
Expand Up @@ -444,7 +444,7 @@ example above).
After the C<BUILD> methods have been called, methods named C<TWEAK> are
called, if they exist, again with all the named arguments that were passed
to C<new>.
to C<new>. (C<TWEAK> is a new feature in v6.d / Rakudo 2016.11)
Due to the nature of the default behavior of C<BUILDALL> and custom C<BUILD>
submethods, named arguments to the constructor C<new> derived from C<Mu> can
Expand Down Expand Up @@ -527,7 +527,7 @@ class MyClass {
If all you need to do is checking things after the actual construction,
or modify attributes after the object construction, writing a submethod
C<TWEAK> is a good approach:
C<TWEAK> is a good approach (available in v6.d / Rakudo 2016.11):
=begin code
class RectangleWithCachedArea {
Expand Down

0 comments on commit 6ffc43a

Please sign in to comment.