diff options
| -rw-r--r-- | lib/axlsx/stylesheet/border.rb | 2 |
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') |
