Class: Conjoin::EnvString
- Inherits:
-
String
- Object
- String
- Conjoin::EnvString
- Defined in:
- lib/conjoin/env_string.rb
Instance Method Summary collapse
Instance Method Details
#console? ⇒ Boolean
13 14 15 |
# File 'lib/conjoin/env_string.rb', line 13 def console? ENV['CONJOIN_CONSOLE'] ? true : false end |
#mounted? ⇒ Boolean
9 10 11 |
# File 'lib/conjoin/env_string.rb', line 9 def mounted? defined?(::Rails) ? true : false end |