Skip to content

Instantly share code, notes, and snippets.

@snuxoll
Created March 15, 2009 16:50
Show Gist options
  • Save snuxoll/79477 to your computer and use it in GitHub Desktop.
Save snuxoll/79477 to your computer and use it in GitHub Desktop.
name: Stefan Nuxoll
age: 17
require 'yaml'
CONFIG = YAML.load_file('config.yml')
puts "#{CONFIG["name"]} is #{CONFIG["age"]} years old"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment