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



11
12
13
# File 'lib/puppet/interface/option_builder.rb', line 11

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