summaryrefslogtreecommitdiff
path: root/lib/Config/Parser/toml.pm6
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Config/Parser/toml.pm6')
-rw-r--r--lib/Config/Parser/toml.pm621
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/Config/Parser/toml.pm6 b/lib/Config/Parser/toml.pm6
deleted file mode 100644
index 7d63593..0000000
--- a/lib/Config/Parser/toml.pm6
+++ /dev/null
@@ -1,21 +0,0 @@
-#! /usr/bin/env false
-
-use v6.c;
-
-use Config::Parser;
-use Config::TOML;
-
-class Config::Parser::toml is Config::Parser
-{
- method read(Str $path --> Hash)
- {
- from-toml(slurp $path);
- }
-
- method write(Str $path, Hash $config --> Bool)
- {
- spurt $path, to-toml($config);
-
- True;
- }
-}