Method: Confection::Project#controller
- Defined in:
- lib/confection/project.rb
#controller(scope, tool, options = {}) ⇒ Object
Create a configuration controller.
147 148 149 150 151 |
# File 'lib/confection/project.rb', line 147 def controller(scope, tool, ={}) profile = [:profile] configs = store.lookup(tool, profile) Controller.new(scope, *configs) end |