Method: Puppet::Pops::Model::CaseOption#initialize

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

#initialize(locator, offset, length, values, then_expr = nil) ⇒ CaseOption

Returns a new instance of CaseOption.



1295
1296
1297
1298
1299
1300
# File 'lib/puppet/pops/model/ast.rb', line 1295

def initialize(locator, offset, length, values, then_expr = nil)
  super(locator, offset, length)
  @hash = @hash ^ values.hash ^ then_expr.hash
  @values = values
  @then_expr = then_expr
end