Method: Axlsx::ConditionalFormattingRule#formula

Defined in:
lib/axlsx/workbook/worksheet/conditional_formatting_rule.rb

#formulaString

Formula The formula or value to match against (e.g. 5 with an operator of :greaterThan to specify cell_value > 5). If the operator is :between or :notBetween, use an array to specify [minimum, maximum]

Returns:

  • (String)


42
43
44
# File 'lib/axlsx/workbook/worksheet/conditional_formatting_rule.rb', line 42

def formula
  @formula
end