Method: Puppet::Pops::Model::ReservedWord.from_asserted_hash

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

.from_asserted_hash(init_hash) ⇒ Object

API:

  • public



3703
3704
3705
3706
3707
3708
3709
3710
# File 'lib/puppet/pops/model/ast.rb', line 3703

def self.from_asserted_hash(init_hash)
  new(
    init_hash['locator'],
    init_hash['offset'],
    init_hash['length'],
    init_hash['word'],
    init_hash['future'])
end