Method: Puppet::Util::Settings#shortinclude?

Defined in:
lib/vendor/puppet/util/settings.rb

#shortinclude?(short) ⇒ Boolean

check to see if a short name is already defined

Returns:

  • (Boolean)


163
164
165
166
# File 'lib/vendor/puppet/util/settings.rb', line 163

def shortinclude?(short)
  short = short.intern if name.is_a? String
  @shortnames.include?(short)
end