aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2017-04-26 08:10:33 +0200
committerPatrick Spek <p.spek@tyil.nl>2017-04-26 08:10:33 +0200
commit8cc5724b273133ce645589b7c7e0cacd60276360 (patch)
treec6b8d3ceccfc8b2a3364866e64790d8274966c45
parent348a75d03fee516bb0dc0854b20336a40dd59b74 (diff)
Initialize path and parser with empty string
-rw-r--r--lib/Config.pm64
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Config.pm6 b/lib/Config.pm6
index 1d0d7db..ae78ea1 100644
--- a/lib/Config.pm6
+++ b/lib/Config.pm6
@@ -13,8 +13,8 @@ use Config::Parser;
class Config is export
{
has Hash $!content = {};
- has Str $!path;
- has Str $!parser;
+ has Str $!path = "";
+ has Str $!parser = "";
#| Clear the config.
method clear()