summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNoel Peden <[email protected]>2013-04-04 13:57:18 -0700
committerNoel Peden <[email protected]>2013-04-04 13:57:18 -0700
commitfe5b9f6569f312366ada1c963e65b255c071e1b1 (patch)
tree0d1bdf6ee3e263b0c170dd1bd3a3cf7b4ad95f70
parente56b36a74fadf2f1c1334ade8388c1e046dcad63 (diff)
downloadcaxlsx-fe5b9f6569f312366ada1c963e65b255c071e1b1.tar.gz
caxlsx-fe5b9f6569f312366ada1c963e65b255c071e1b1.zip
Documentation for @formula attribute.
-rw-r--r--lib/axlsx/workbook/worksheet/conditional_formatting_rule.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/axlsx/workbook/worksheet/conditional_formatting_rule.rb b/lib/axlsx/workbook/worksheet/conditional_formatting_rule.rb
index 39b9612b..9db091be 100644
--- a/lib/axlsx/workbook/worksheet/conditional_formatting_rule.rb
+++ b/lib/axlsx/workbook/worksheet/conditional_formatting_rule.rb
@@ -36,6 +36,8 @@ module Axlsx
:stopIfTrue, :timePeriod
# 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]
# @return [String]
attr_reader :formula