Method: Puppet::Pops::Model::CaseExpression.from_asserted_hash
- Defined in:
- lib/puppet/pops/model/ast.rb
.from_asserted_hash(init_hash) ⇒ Object
1355 1356 1357 1358 1359 1360 1361 1362 |
# File 'lib/puppet/pops/model/ast.rb', line 1355 def self.from_asserted_hash(init_hash) new( init_hash['locator'], init_hash['offset'], init_hash['length'], init_hash['test'], init_hash.fetch('options') { _pcore_type['options'].value }) end |