summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/stylesheet
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-03-29 01:12:42 +0900
committerRandy Morgan <[email protected]>2012-03-29 01:12:42 +0900
commita276aaebab11117a9c6c78f8bd9b2d44d07c3772 (patch)
tree4cf274597e52a1345e92fb8d517314264bbad4b8 /lib/axlsx/stylesheet
parenteb9ad625b9817e02c916b34f8e203561406ccaac (diff)
downloadcaxlsx-a276aaebab11117a9c6c78f8bd9b2d44d07c3772.tar.gz
caxlsx-a276aaebab11117a9c6c78f8bd9b2d44d07c3772.zip
fix example for border add_style
Diffstat (limited to 'lib/axlsx/stylesheet')
-rw-r--r--lib/axlsx/stylesheet/border.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/stylesheet/border.rb b/lib/axlsx/stylesheet/border.rb
index ddf6dc90..43acbdca 100644
--- a/lib/axlsx/stylesheet/border.rb
+++ b/lib/axlsx/stylesheet/border.rb
@@ -21,7 +21,7 @@ module Axlsx
# @option options [Boolean] outline
# @example - Making a border
# p = Axlsx::Package.new
- # red_border = p.workbook.styles.add_style :border => {:style =>: thin, :color => "FFFF0000"}
+ # 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')