Method: Puppet::Interface::OptionBuilder.build

Defined in:
lib/puppet/interface/option_builder.rb

.build(face, *declaration, &block) ⇒ Puppet::Interface::Option

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Build an option

Returns:

API:

  • private



13
14
15
# File 'lib/puppet/interface/option_builder.rb', line 13

def self.build(face, *declaration, &block)
  new(face, *declaration, &block).option
end