Module: PyrRules::RulesHelper

Defined in:
app/helpers/pyr_rules/rules_helper.rb

Constant Summary collapse

@@dont_drill_types =

Don’t drill into these types

[:boolean, :datetime, :integer, :messaging_user, :string, :text]

Instance Method Summary collapse

Instance Method Details

#drillable_rule_type?(check_type) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
# File 'app/helpers/pyr_rules/rules_helper.rb', line 6

def drillable_rule_type?(check_type)
  !@@dont_drill_types.index(check_type)
end