Top Level Namespace
Defined Under Namespace
Modules: Confection Classes: OpenStruct
Instance Method Summary collapse
-
#config(tool, *options) ⇒ Confection::Controller
(also: #confection)
Confection’s primary use method, lookups a configuration given the tool and profile.
- #configure(tool, *options) ⇒ Object (also: #confect)
Instance Method Details
#config(tool, *options) ⇒ Confection::Controller Also known as: confection
Confection’s primary use method, lookups a configuration given the tool and profile.
To select all profiles for a given tool, use ‘’*‘`.
28 29 30 |
# File 'lib/confection.rb', line 28 def config(tool, *) Confection.controller(self, tool, *) end |
#configure(tool, *options) ⇒ Object Also known as: confect
40 41 42 43 |
# File 'lib/confection.rb', line 40 def configure(tool, *) controller = Confection.controller(self, tool, *) controller.configure end |