Method: Puppet::Type.valid_parameter?

Defined in:
lib/puppet/type.rb

.valid_parameter?(name) ⇒ Boolean

Note:

see comment in code - how should this be documented? Are some of the other query methods deprecated? (or should be).

Returns whether or not the given name is the name of a property, parameter or meta-parameter



612
613
614
# File 'lib/puppet/type.rb', line 612

def self.valid_parameter?(name)
  validattr?(name)
end