Method: Puppet::Type#properties
- Defined in:
- lib/puppet/type.rb
#properties ⇒ Array<Puppet::Property>
TODO:
“what does the ‘order specified in the class’ mean? The order the properties where added in the ruby file adding a new type with new properties?
Returns all of the property objects, in the order specified in the class.
925 926 927 |
# File 'lib/puppet/type.rb', line 925 def properties self.class.properties.filter_map { |prop| @parameters[prop.name] } end |