Method: Journeyman::Configuration#initialize
- Defined in:
- lib/journeyman/configuration.rb
#initialize(name, options, config) ⇒ Configuration
Public: Receives the name of the factory, and configuration options.
Yields itself to the block passed to the ‘Journeyman.define`.
19 20 21 22 23 |
# File 'lib/journeyman/configuration.rb', line 19 def initialize(name, , config) @name, = name, extract_defaults config.call(self) verify_valid_or_exit end |