Method: Puppet::Pops::Model::CaseOption.from_asserted_hash

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

.from_asserted_hash(init_hash) ⇒ Object



1246
1247
1248
1249
1250
1251
1252
1253
# File 'lib/puppet/pops/model/ast.rb', line 1246

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