aboutsummaryrefslogtreecommitdiff
path: root/lib/Config/Parser/yaml.pm6
blob: 366368fe2086500e963cbafea9f8d909fcfb61e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /usr/bin/env false

use v6.c;

use Config::Parser;
use YAMLish;

class Config::Parser::yaml is Config::Parser
{
    method read(Str $path --> Hash)
    {
        say $path;
        load-yaml(slurp $path);
    }
}