Class: Puppet::Interface::OptionBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/vendor/puppet/interface/option_builder.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#optionObject (readonly)

Returns the value of attribute option.



4
5
6
# File 'lib/vendor/puppet/interface/option_builder.rb', line 4

def option
  @option
end

Class Method Details

.build(face, *declaration, &block) ⇒ Object



6
7
8
# File 'lib/vendor/puppet/interface/option_builder.rb', line 6

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