Method: Puppet::Pops::Model::AccessExpression.from_asserted_hash

Defined in:
lib/puppet/pops/model/ast.rb

.from_asserted_hash(init_hash) ⇒ Object



618
619
620
621
622
623
624
625
# File 'lib/puppet/pops/model/ast.rb', line 618

def self.from_asserted_hash(init_hash)
  new(
    init_hash['locator'],
    init_hash['offset'],
    init_hash['length'],
    init_hash['left_expr'],
    init_hash.fetch('keys') { _pcore_type['keys'].value })
end