Class: Pal::Operation::GroupRule

Inherits:
Rule
  • Object
show all
Defined in:
lib/pal/operation/filter_evaluator.rb

Direct Known Subclasses

AndGroupRule, OrGroupRule

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Rule

#evaluate

Constructor Details

#initialize(rule_group) ⇒ GroupRule

Returns a new instance of GroupRule.

Parameters:

  • rule_group (Array<Rule>)


81
82
83
84
# File 'lib/pal/operation/filter_evaluator.rb', line 81

def initialize(rule_group)
  @rule_group = rule_group
  super()
end

Instance Attribute Details

#rule_groupArray<Rule> (readonly)

Returns:



78
79
80
# File 'lib/pal/operation/filter_evaluator.rb', line 78

def rule_group
  @rule_group
end