Top Level Namespace

Defined Under Namespace

Modules: Confection Classes: OpenStruct

Instance Method Summary collapse

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 ‘’*‘`.

Returns:



28
29
30
# File 'lib/confection.rb', line 28

def config(tool, *options)
  Confection.controller(self, tool, *options)
end

#configure(tool, *options) ⇒ Object Also known as: confect



40
41
42
43
# File 'lib/confection.rb', line 40

def configure(tool, *options)
  controller = Confection.controller(self, tool, *options)
  controller.configure
end