Method: Puppet::Interface::Action#get_option
- Defined in:
- lib/puppet/interface/action.rb
#get_option(name, with_inherited_options = true) ⇒ Object
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.
333 334 335 336 337 338 339 |
# File 'lib/puppet/interface/action.rb', line 333 def get_option(name, = true) option = @options_hash[name.to_sym] if option.nil? and option = @face.get_option(name) end option end |