Class: Rehearsal::Configuration
- Inherits:
-
Object
- Object
- Rehearsal::Configuration
- Defined in:
- lib/rehearsal/configuration.rb
Instance Attribute Summary collapse
-
#auth_envs ⇒ Object
Returns the value of attribute auth_envs.
-
#banner_envs ⇒ Object
Returns the value of attribute banner_envs.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 10 11 |
# File 'lib/rehearsal/configuration.rb', line 5 def initialize initialize_from_hidden_file! @auth_envs ||= [:staging] @banner_envs ||= [:staging] @enabled = true if enabled.nil? end |
Instance Attribute Details
#auth_envs ⇒ Object
Returns the value of attribute auth_envs.
3 4 5 |
# File 'lib/rehearsal/configuration.rb', line 3 def auth_envs @auth_envs end |
#banner_envs ⇒ Object
Returns the value of attribute banner_envs.
3 4 5 |
# File 'lib/rehearsal/configuration.rb', line 3 def @banner_envs end |
#enabled ⇒ Object
Returns the value of attribute enabled.
3 4 5 |
# File 'lib/rehearsal/configuration.rb', line 3 def enabled @enabled end |