summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/workbook/worksheet/row_breaks.rb
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2013-09-12 22:22:37 +0900
committerRandy Morgan <[email protected]>2013-09-13 00:08:39 +0900
commitfc364b1bd55c0eb39a37b69cb8f45a0133463e2f (patch)
treeaac44492ffd8f981c0357fdd2a417739e9a05aac /lib/axlsx/workbook/worksheet/row_breaks.rb
parentb5a6263ec3ec0a729c9b2bec86c22d1ead33eb65 (diff)
downloadcaxlsx-fc364b1bd55c0eb39a37b69cb8f45a0133463e2f.tar.gz
caxlsx-fc364b1bd55c0eb39a37b69cb8f45a0133463e2f.zip
Bring documentation up to 100%
Diffstat (limited to 'lib/axlsx/workbook/worksheet/row_breaks.rb')
-rw-r--r--lib/axlsx/workbook/worksheet/row_breaks.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/axlsx/workbook/worksheet/row_breaks.rb b/lib/axlsx/workbook/worksheet/row_breaks.rb
index 968cf2f7..1765c241 100644
--- a/lib/axlsx/workbook/worksheet/row_breaks.rb
+++ b/lib/axlsx/workbook/worksheet/row_breaks.rb
@@ -8,11 +8,16 @@ module Axlsx
super Break
end
+ # Adds a row break
+ # @param [Hash] options The options for the break to be created.
+ # max and man values are fixed.
+ # @see Break
def add_break(options)
# force feed the excel default
@list << Break.new(options.merge(:max => 16383, :man => true))
last
end
+
# <rowBreaks count="3" manualBreakCount="3">
# <brk id="1" max="16383" man="1"/>
# <brk id="7" max="16383" man="1"/>