Class: Foundry::Configurator
- Inherits:
-
Object
- Object
- Foundry::Configurator
- Defined in:
- lib/foundry/configurator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.configure(opts) ⇒ Object
6 7 8 |
# File 'lib/foundry/configurator.rb', line 6 def self.configure(opts) new.configure(opts) end |
Instance Method Details
#configure(opts) ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/foundry/configurator.rb', line 10 def configure(opts) with_opts(opts) do relative_path = opts.fetch(:relative_path) transmorg = transmorgify(relative_path) merged = mergify(transmorg) structify(merged) end end |