Class: Eco::API::Common::Loaders::Config
- Extended by:
- ClassHelpers, Language::Methods::DelegateMissing
- Defined in:
- lib/eco/api/common/loaders/config.rb
Direct Known Subclasses
Class Method Summary collapse
- .active_enviro ⇒ Object
- .cli ⇒ Object
- .config ⇒ Object
-
.config_block(&block) ⇒ Object
To create samples of configurations.
Methods included from ClassHelpers
class_resolver, descendants, descendants?, inheritable_attrs, inheritable_class_vars, inherited, instance_variable_name, new_class, resolve_class, to_constant
Methods included from Language::Methods::DelegateMissing
delegate_missing_to, method_missing, respond_to_missing?
Class Method Details
.active_enviro ⇒ Object
21 22 23 |
# File 'lib/eco/api/common/loaders/config.rb', line 21 def active_enviro config.active_enviro end |
.cli ⇒ Object
17 18 19 |
# File 'lib/eco/api/common/loaders/config.rb', line 17 def cli ASSETS.cli end |
.config ⇒ Object
13 14 15 |
# File 'lib/eco/api/common/loaders/config.rb', line 13 def config ASSETS.config end |
.config_block(&block) ⇒ Object
To create samples of configurations
8 9 10 11 |
# File 'lib/eco/api/common/loaders/config.rb', line 8 def config_block(&block) return @config_block unless block_given? @config_block = block end |