From 0d1737fb2ab52cf56ddf2146e5ff910dfc66d7b4 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Sun, 12 Jul 2020 10:37:34 +0200
Subject: Modernize the module
---
lib/Config/Parser/toml.pm6 | 21 ---------------------
1 file changed, 21 deletions(-)
delete mode 100644 lib/Config/Parser/toml.pm6
(limited to 'lib/Config/Parser/toml.pm6')
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;
- }
-}
--
cgit v1.1