aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2021-03-18 23:56:19 +0100
committerPatrick Spek <p.spek@tyil.nl>2023-07-25 02:17:53 +0200
commit31dffa70a748fca22f9da2e0404c41b468b57109 (patch)
tree161ff11425a93c2b54c82d20ffc78a14531777af /lib
parentdbd1a55f8575655fc89bee233f638cba33e7e998 (diff)
Call own methods with self
Diffstat (limited to 'lib')
-rw-r--r--lib/Config.rakumod6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Config.rakumod b/lib/Config.rakumod
index cddf256..e896517 100644
--- a/lib/Config.rakumod
+++ b/lib/Config.rakumod
@@ -146,7 +146,7 @@ multi method read (
--> Config:D
) {
- Config.new(
+ self.new(
%!template,
:$!name,
data => merge-hash(%!data.clone, %data),
@@ -252,7 +252,7 @@ multi method set (
$index = $value;
- Config.new(
+ self.new(
%!template,
:$!name,
:%data,
@@ -287,7 +287,7 @@ multi method unset (
$index{@parts[*-1]}:delete;
- Config.new(
+ self.new(
%!template,
:$!name,
:%data,