Module: Puppet::Pops::Types::PuppetObject
- Included in:
- Lookup::Context, Model::PopsObject, Parser::Locator::Locator19, Pcore, Resource::Param, Resource::ResourceTypeImpl, Annotation, TypedModelObject
- Defined in:
- lib/puppet/pops/types/puppet_object.rb
Overview
Marker module for implementations that are mapped to Object types
Instance Method Summary collapse
- #_pcore_all_contents(path, &block) ⇒ Object
- #_pcore_contents ⇒ Object
- #_pcore_init_hash ⇒ Object
-
#_pcore_type ⇒ PObjectType
Returns the Puppet Type for this instance.
Instance Method Details
#_pcore_all_contents(path, &block) ⇒ Object
15 16 |
# File 'lib/puppet/pops/types/puppet_object.rb', line 15 def _pcore_all_contents(path, &block) end |
#_pcore_contents ⇒ Object
18 19 |
# File 'lib/puppet/pops/types/puppet_object.rb', line 18 def _pcore_contents end |
#_pcore_init_hash ⇒ Object
21 22 23 |
# File 'lib/puppet/pops/types/puppet_object.rb', line 21 def _pcore_init_hash {} end |
#_pcore_type ⇒ PObjectType
Returns the Puppet Type for this instance. The implementing class must add the #_pcore_type as a class method.
11 12 13 |
# File 'lib/puppet/pops/types/puppet_object.rb', line 11 def _pcore_type self.class._pcore_type end |