Module: Puppet::Pops::Types::PuppetObject

Overview

Marker module for implementations that are mapped to Object types

Instance Method Summary collapse

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_contentsObject



18
19
# File 'lib/puppet/pops/types/puppet_object.rb', line 18

def _pcore_contents
end

#_pcore_init_hashObject



21
22
23
# File 'lib/puppet/pops/types/puppet_object.rb', line 21

def _pcore_init_hash
  {}
end

#_pcore_typePObjectType

Returns the Puppet Type for this instance. The implementing class must add the #_pcore_type as a class method.

Returns:



11
12
13
# File 'lib/puppet/pops/types/puppet_object.rb', line 11

def _pcore_type
  self.class._pcore_type
end