File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -444,7 +444,7 @@ example above).
444
444
445
445
After the C < BUILD > methods have been called, methods named C < TWEAK > are
446
446
called, if they exist, again with all the named arguments that were passed
447
- to C < new > .
447
+ to C < new > . ( C < TWEAK > is a new feature in v6.d / Rakudo 2016.11)
448
448
449
449
Due to the nature of the default behavior of C < BUILDALL > and custom C < BUILD >
450
450
submethods, named arguments to the constructor C < new > derived from C < Mu > can
@@ -527,7 +527,7 @@ class MyClass {
527
527
528
528
If all you need to do is checking things after the actual construction,
529
529
or modify attributes after the object construction, writing a submethod
530
- C < TWEAK > is a good approach:
530
+ C < TWEAK > is a good approach (available in v6.d / Rakudo 2016.11) :
531
531
532
532
= begin code
533
533
class RectangleWithCachedArea {
You can’t perform that action at this time.
0 commit comments