Skip to content

Instantly share code, notes, and snippets.

@ohadlevy
Created November 27, 2009 12:05
Show Gist options
  • Save ohadlevy/243976 to your computer and use it in GitHub Desktop.
Save ohadlevy/243976 to your computer and use it in GitHub Desktop.
#! /usr/bin/ruby
#
require 'yaml'
classes = ["a","b"]
environment = "test"
parameters = { "name" => "value", "something" => "else" }
puts Hash['classes' => classes, 'parameters' => parameters, 'environment' => environment].to_yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment