Class: AppConfigLoader::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/app_config_loader/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#const_nameObject

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

#domainObject

Returns the value of attribute domain.



3
4
5
# File 'lib/app_config_loader/config.rb', line 3

def domain
  @domain
end

#envObject

Returns the value of attribute env.



3
4
5
# File 'lib/app_config_loader/config.rb', line 3

def env
  @env
end

#local_overridesObject

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_pathsObject



5
6
7
# File 'lib/app_config_loader/config.rb', line 5

def config_paths
  @config_paths ||= []
end

#use_domainObject 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