Class: Gaston
- Inherits:
-
Object
- Object
- Gaston
- Includes:
- Singleton
- Defined in:
- lib/gaston.rb,
lib/gaston/parse.rb,
lib/gaston/builder.rb,
lib/gaston/version.rb,
lib/gaston/configuration.rb,
lib/gaston/generators/gaston/config_generator.rb
Defined Under Namespace
Modules: Generators Classes: Builder, Configuration, Parse
Constant Summary collapse
- VERSION =
"0.6.0"
Class Method Summary collapse
-
.configure(&block) ⇒ Object
Define a configure block.
Instance Method Summary collapse
-
#store ⇒ Object
Parse yml config files, merge them, and store into gaston::Store.
Class Method Details
.configure(&block) ⇒ Object
Define a configure block.
Delegates to Gaston::Configuration
40 41 42 43 44 45 46 47 |
# File 'lib/gaston.rb', line 40 def configure(&block) self::Configuration.configure(&block) self.instance.store.each do |key, value| define_singleton_method key do value end end end |