Skip to content

Instantly share code, notes, and snippets.

@jellybob
Created March 17, 2011 21:00
Show Gist options
  • Save jellybob/875121 to your computer and use it in GitHub Desktop.
Save jellybob/875121 to your computer and use it in GitHub Desktop.
puts spec.to_s.inspect
# => "development"
puts configurations.keys.inspect
# => [ "development", "test", "cucumber", "production" ]
puts configurations.keys.include?(spec.to_s)
# => false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment