diff options
Diffstat (limited to 'lib/Config.pm6')
-rw-r--r-- | lib/Config.pm6 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Config.pm6 b/lib/Config.pm6 index ae78ea1..b9bc582 100644 --- a/lib/Config.pm6 +++ b/lib/Config.pm6 @@ -24,6 +24,12 @@ class Config is export $!parser = ""; } + #| Return the entire config hash. + multi method get() + { + return $!content; + } + #| Get a value from the config object. To get a nested #| key, use a . to descent a level. multi method get(Str $key, Any $default = Nil) |