Skip to content

Instantly share code, notes, and snippets.

@markgono
Created April 24, 2019 18:49
Show Gist options
  • Save markgono/4191a6416d06b545c35c550aeb4badda to your computer and use it in GitHub Desktop.
Save markgono/4191a6416d06b545c35c550aeb4badda to your computer and use it in GitHub Desktop.
Pretty print the output of a YAML config file
require 'rubygems'
require 'yaml'
require 'pp'
config = YAML::load(File.read('./.circleci/config.yml'))
pp(config)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment