Method: Axlsx.validate_conditional_formatting_operator
- Defined in:
- lib/axlsx/util/validators.rb
.validate_conditional_formatting_operator(v) ⇒ Object
Requires that the value is valid conditional formatting operator. valid operators must be one of lessThan, lessThanOrEqual, equal, notEqual, greaterThanOrEqual, greaterThan, between, notBetween, containsText, notContains, beginsWith, endsWith
202 203 204 |
# File 'lib/axlsx/util/validators.rb', line 202 def self.validate_conditional_formatting_operator(v) RestrictionValidator.validate :conditional_formatting_type, [:lessThan, :lessThanOrEqual, :equal, :notEqual, :greaterThanOrEqual, :greaterThan, :between, :notBetween, :containsText, :notContains, :beginsWith, :endsWith], v end |