Method: Puppet::Pops::Model::NamedDefinition#_pcore_init_hash
- Defined in:
- lib/puppet/pops/model/ast.rb
#_pcore_init_hash ⇒ Object
1904 1905 1906 1907 1908 1909 1910 |
# File 'lib/puppet/pops/model/ast.rb', line 1904 def _pcore_init_hash result = super result['name'] = @name result['parameters'] = @parameters unless _pcore_type['parameters'].default_value?(@parameters) result['body'] = @body unless @body == nil result end |