Skip to content

Instantly share code, notes, and snippets.

View gchaturvedi's full-sized avatar

Gaurav Chaturvedi gchaturvedi

  • San Francisco, CA
View GitHub Profile
2.0.0p353 :001 > require 'yaml'
true
2.0.0p353 :002 > blah = YAML.load_file('tddium.yml')
{
:tddium => {
:ruby_version => "ruby-2.0.0-p353"
}
}
2.0.0p353 :003 > puts blah.inspect
{:tddium=>{:ruby_version=>"ruby-2.0.0-p353"}}
# tddium.yml
---
:tddium:
:ruby_version: ruby-2.0.0-p353
# tddium.yml
---
:ttdium:
:ruby_version: ruby-2.0.0-p353
:ttdium:
:ruby_version: ruby-2.0.0-p353