Created
February 1, 2015 22:28
-
-
Save jdmorlan/5d47c281e54d09e2cbd9 to your computer and use it in GitHub Desktop.
How to read YAML Front Matter.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'yaml' | |
thing = YAML.load_file('some.yml') | |
puts thing.inspect |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment