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.



1269
1270
1271
1272
1273
1274
# File 'lib/puppet/pops/model/ast.rb', line 1269

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