Method: Puppet::Pops::Model::Program.from_asserted_hash
- Defined in:
- lib/puppet/pops/model/ast.rb
.from_asserted_hash(init_hash) ⇒ Object
4486 4487 4488 4489 4490 4491 |
# File 'lib/puppet/pops/model/ast.rb', line 4486 def self.from_asserted_hash(init_hash) new( init_hash['locator'], init_hash['body'], init_hash.fetch('definitions') { _pcore_type['definitions'].value }) end |