diff options
author | Patrick Spek <p.spek@tyil.nl> | 2021-03-18 23:56:19 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2021-03-18 23:56:19 +0100 |
commit | eda41a0ce3ac8cd5ad41791c5d5641c72f7b4bb1 (patch) | |
tree | 161ff11425a93c2b54c82d20ffc78a14531777af /lib/Config.rakumod | |
parent | 280463e699d1667111191b8fad4e2821497ca4f5 (diff) |
Call own methods with self
Diffstat (limited to 'lib/Config.rakumod')
-rw-r--r-- | lib/Config.rakumod | 6 |
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, |