class Confs::Parser

Overview

Parser for a subset of confs (https://github.com/Andriamanitra/confs) syntax. Does not currently support multiline strings or enums.

Defined in:

confs_parser.cr

Constant Summary

NEWLINE = /\s*(#[^\n]*)?\n/

Constructors

Instance Method Summary

Constructor Detail

def self.new(src : String) #

[View source]

Instance Method Detail

def parse : Hash(String, Val) #

[View source]