blob: 5d0343b750ae87c15b1bf70249dba8833414547c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#! /usr/bin/env false
use v6.d;
unit class Config::Parser;
#| Attempt to read the file at a given $path, and returns its
#| parsed contents as a Hash.
method read(IO() $path --> Hash) { … }
#| Attempt to write the $config Hash at a given $path. Returns
#| True on success, False on failure.
method write(IO() $path, Hash $config --> Bool) { … }
|