From a276aaebab11117a9c6c78f8bd9b2d44d07c3772 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Thu, 29 Mar 2012 01:12:42 +0900 Subject: fix example for border add_style --- lib/axlsx/stylesheet/border.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- cgit v1.2.3