aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2017-07-29 02:13:20 +0200
committerPatrick Spek <p.spek@tyil.nl>2023-07-25 02:16:28 +0200
commit72f91cc0604634b2f5025a0130d0c88bb5482615 (patch)
tree4918444637ab62ea27c03b780dd75d5a91d9ddc7 /lib
parentcd5286cd670123974eeaf0b7457f46ed651a722b (diff)
Use the correct self reference instead of $self
Diffstat (limited to 'lib')
-rw-r--r--lib/Config.pm610
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Config.pm6 b/lib/Config.pm6
index cd637a8..1a1deab 100644
--- a/lib/Config.pm6
+++ b/lib/Config.pm6
@@ -212,26 +212,26 @@ class Config is Associative is export
multi method AT-KEY(::?CLASS:D: $key)
{
- $self.get($key);
+ self.get($key);
}
multi method EXISTS-KEY(::?CLASS:D: $key)
{
- $self.has($key);
+ self.has($key);
}
multi method DELETE-KEY(::?CLASS:D: $key)
{
- $self.unset($key);
+ self.unset($key);
}
multi method ASSIGN-KEY(::?CLASS:D: $key, $new)
{
- $self.set($key, $new);
+ self.set($key, $new);
}
multi method BIND-KEY(::?CLASS:D: $key, \new)
{
- $self.set($key, new);
+ self.set($key, new);
}
}