Method: Puppet::Interface::OptionManager#option?

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

#option?(name) ⇒ Boolean

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.

Returns:

  • (Boolean)


103
104
105
# File 'lib/puppet/interface/option_manager.rb', line 103

def option?(name)
  options.include? name.to_sym
end