Method: Puppet::Interface::Action#option?

Defined in:
lib/puppet/interface/action.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)


306
307
308
# File 'lib/puppet/interface/action.rb', line 306

def option?(name)
  @options_hash.include? name.to_sym
end