Class: CLabs::CaseGen::ExcludeRule
Instance Attribute Summary
Attributes inherited from Rule
#criteria, #data, #description
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Rule
#initialize, #parse_rule
Class Method Details
.create(rule_data) ⇒ Object
150
151
152
153
|
# File 'lib/agents/sets.rb', line 150
def ExcludeRule.create(rule_data)
return ExcludeRule.new(rule_data) if rule_data =~ regexp
return nil
end
|
146
147
148
|
# File 'lib/agents/sets.rb', line 146
def ExcludeRule.regexp
/^exclude/i
end
|
Instance Method Details
#type_description ⇒ Object
142
143
144
|
# File 'lib/agents/sets.rb', line 142
def type_description
"exclude"
end
|