0.0
The project is in a healthy, maintained state
evalutes ruby code on all of yaml
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

dorian-yaml-all

Run one Ruby snippet against the whole YAML value.

Install

gem install dorian-yaml-all

Also included in the aggregate gem:

gem install dorian

Usage

yaml-all [file ...] "ruby code"

Run yaml-all -h for generated option details and yaml-all -v for the installed version.

Notes

  • Sets it to the parsed YAML value converted to deep structs.

Examples

Print a top-level value

printf 'name: Dorian\n' | yaml-all "puts it.name"

Output:

Dorian