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

use v6.c;

use Config::Parser;
use YAMLish;

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