Class: AppConfigLoader::Config
- Inherits:
-
Object
- Object
- AppConfigLoader::Config
- Defined in:
- lib/app_config_loader/config.rb
Instance Attribute Summary collapse
-
#const_name ⇒ Object
Returns the value of attribute const_name.
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#env ⇒ Object
Returns the value of attribute env.
-
#local_overrides ⇒ Object
Returns the value of attribute local_overrides.
Instance Method Summary collapse
- #config_paths ⇒ Object
- #use_domain ⇒ Object (also: #use_domain?)
- #use_domain=(use) ⇒ Object
Instance Attribute Details
#const_name ⇒ Object
Returns the value of attribute const_name.
3 4 5 |
# File 'lib/app_config_loader/config.rb', line 3 def const_name @const_name end |
#domain ⇒ Object
Returns the value of attribute domain.
3 4 5 |
# File 'lib/app_config_loader/config.rb', line 3 def domain @domain end |
#env ⇒ Object
Returns the value of attribute env.
3 4 5 |
# File 'lib/app_config_loader/config.rb', line 3 def env @env end |
#local_overrides ⇒ Object
Returns the value of attribute local_overrides.
3 4 5 |
# File 'lib/app_config_loader/config.rb', line 3 def local_overrides @local_overrides end |
Instance Method Details
#config_paths ⇒ Object
5 6 7 |
# File 'lib/app_config_loader/config.rb', line 5 def config_paths @config_paths ||= [] end |
#use_domain ⇒ Object Also known as: use_domain?
9 10 11 |
# File 'lib/app_config_loader/config.rb', line 9 def use_domain @use_domain === true end |
#use_domain=(use) ⇒ Object
14 15 16 |
# File 'lib/app_config_loader/config.rb', line 14 def use_domain=(use) @use_domain = !!use end |