Module: Appfuel::Config
- Defined in:
- lib/appfuel/config.rb,
lib/appfuel/config/search.rb,
lib/appfuel/config/populate.rb,
lib/appfuel/config/file_loader.rb,
lib/appfuel/config/definition_dsl.rb
Defined Under Namespace
Modules: FileLoader, Populate, Search Classes: DefinitionDsl
Class Method Summary collapse
Class Method Details
.define(key, &block) ⇒ Object
8 9 10 11 12 |
# File 'lib/appfuel/config.rb', line 8 def self.define(key, &block) definition = DefinitionDsl.new(key) definition.instance_eval(&block) definition end |