Skip to content

Instantly share code, notes, and snippets.

@cowboycoded
Created April 9, 2011 01:42
Show Gist options
  • Save cowboycoded/911024 to your computer and use it in GitHub Desktop.
Save cowboycoded/911024 to your computer and use it in GitHub Desktop.
Yettings example - accessing values
# in any environment
Yetting.some_api_key #=> "abc123"
Yetting.an_erb_yetting #=> "erb stuff works"
Yetting.some_array #=> ["element1", "element2"]
# in the development environment
Yetting.api_key #=> "abc123dev"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment