Skip to content

Instantly share code, notes, and snippets.

@cyx
Created September 9, 2010 19:07
Show Gist options
  • Save cyx/572357 to your computer and use it in GitHub Desktop.
Save cyx/572357 to your computer and use it in GitHub Desktop.
# config/settings.rb
require 'ostruct'
Main.set :monk, OpenStruct.new
Main.monk.tap do |m|
m.site_name = 'Cool site'
m.s3_creds = { ... }
m.fb_app_id = 1230918230981230
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment