summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/stylesheet/border.rb
diff options
context:
space:
mode:
authorSean Duckett <[email protected]>2012-03-27 14:50:51 -0500
committerSean Duckett <[email protected]>2012-03-27 14:50:51 -0500
commitc0be18875793d20cbb686c384fa1a1a1647fa395 (patch)
treeb81db7f83feded1adbb8d3e0f8e7a426b0e5d589 /lib/axlsx/stylesheet/border.rb
parentc4772258dc342a81cb08c825d7906d7313f5aff5 (diff)
downloadcaxlsx-c0be18875793d20cbb686c384fa1a1a1647fa395.tar.gz
caxlsx-c0be18875793d20cbb686c384fa1a1a1647fa395.zip
Fix no-example in rendered docs, comment to match method.
Diffstat (limited to 'lib/axlsx/stylesheet/border.rb')
-rw-r--r--lib/axlsx/stylesheet/border.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/axlsx/stylesheet/border.rb b/lib/axlsx/stylesheet/border.rb
index f3d329fa..ddf6dc90 100644
--- a/lib/axlsx/stylesheet/border.rb
+++ b/lib/axlsx/stylesheet/border.rb
@@ -19,12 +19,12 @@ module Axlsx
# @option options [Boolean] diagonalUp
# @option options [Boolean] diagonalDown
# @option options [Boolean] outline
- # @example Making a border
- # p = Axlsx::Package.new
- # red_border = p.workbook.styles.add_style :border => {:style =>: thin, :color => "FFFF0000"}
- # ws = p.workbook.add_worksheet
- # ws.add_row [1,2,3], :style => red_border
- # p.serialize('red_border.xlsx')
+ # @example - Making a border
+ # p = Axlsx::Package.new
+ # red_border = p.workbook.styles.add_style :border => {:style =>: thin, :color => "FFFF0000"}
+ # ws = p.workbook.add_worksheet
+ # ws.add_row [1,2,3], :style => red_border
+ # p.serialize('red_border.xlsx')
#
# @note The recommended way to manage borders is with Style#add_style
# @see Style#add_style