diff options
author | Patrick Spek <Tyil@users.noreply.github.com> | 2017-04-26 07:44:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-26 07:44:59 +0200 |
commit | acdac7ea2f81e739c7e2b5cb37d3f3cdc71962a8 (patch) | |
tree | ed702ba420a3cda7f39f0b6b249b294f02dca487 /lib/Config/Parser.pm6 | |
parent | 60aff52595020f378cd0d1a4d9d75894e083b9e0 (diff) | |
parent | b01a053e3d4012064a667745634010dd654b4777 (diff) |
Merge pull request #1 from scriptkitties/docs
Improve documentation
Diffstat (limited to 'lib/Config/Parser.pm6')
-rw-r--r-- | lib/Config/Parser.pm6 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/Config/Parser.pm6 b/lib/Config/Parser.pm6 index 23effc0..1a99ad6 100644 --- a/lib/Config/Parser.pm6 +++ b/lib/Config/Parser.pm6 @@ -8,11 +8,15 @@ class Config::Parser { method read(Str $path --> Hash) { - Config::Exception::UnimplementedMethodException.new.throw(); + Config::Exception::UnimplementedMethodException.new( + method => "read" + ).throw(); } method write(Str $path, Hash $config --> Hash) { - Config::Exception::UnimplementedMethodException.new.throw(); + Config::Exception::UnimplementedMethodException.new( + method => "write" + ).throw(); } } |