module Comandante::Helper::YamlTo(T)

Overview

A from_yaml wrapper that exits/raises on failure

Example

x = YamlTo(Array(Int32)).load("[1,2,3]", ":config")

Defined in:

comandante/helper.cr

Class Method Summary

Class Method Detail

def self.load(s, context = "") : T #

[View source]