Class: Rehearsal::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/rehearsal/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_envsObject

Returns the value of attribute auth_envs.



3
4
5
# File 'lib/rehearsal/configuration.rb', line 3

def auth_envs
  @auth_envs
end

Returns the value of attribute banner_envs.



3
4
5
# File 'lib/rehearsal/configuration.rb', line 3

def banner_envs
  @banner_envs
end

#enabledObject

Returns the value of attribute enabled.



3
4
5
# File 'lib/rehearsal/configuration.rb', line 3

def enabled
  @enabled
end