Module: TwuckooEnvironment
- Defined in:
- lib/environments.rb
Instance Method Summary collapse
Instance Method Details
#set_testing ⇒ Object
2 3 4 |
# File 'lib/environments.rb', line 2 def set_testing ENV["CUCKOO_ENV"] = "testing" end |
#testing? ⇒ Boolean
5 6 7 |
# File 'lib/environments.rb', line 5 def testing? ENV["CUCKOO_ENV"] == "testing" end |