diff options
| author | Randy Morgan <[email protected]> | 2012-03-28 09:11:18 -0700 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-03-28 09:11:18 -0700 |
| commit | eb9ad625b9817e02c916b34f8e203561406ccaac (patch) | |
| tree | 623e5e5e69c5b7a865971fc054a2210a6340b1f7 | |
| parent | 5c54132742a3a75549426001be3ab5828bb54944 (diff) | |
| parent | ef9e0e6bf36cce1f30b8147b794066f1b9762e5c (diff) | |
| download | caxlsx-eb9ad625b9817e02c916b34f8e203561406ccaac.tar.gz caxlsx-eb9ad625b9817e02c916b34f8e203561406ccaac.zip | |
Merge pull request #66 from sduckett/doc-updates
Doc updates
| -rw-r--r-- | lib/axlsx/stylesheet/border.rb | 12 | ||||
| -rw-r--r-- | lib/axlsx/workbook/worksheet/worksheet.rb | 2 |
2 files changed, 7 insertions, 7 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 diff --git a/lib/axlsx/workbook/worksheet/worksheet.rb b/lib/axlsx/workbook/worksheet/worksheet.rb index ee455195..84f82791 100644 --- a/lib/axlsx/workbook/worksheet/worksheet.rb +++ b/lib/axlsx/workbook/worksheet/worksheet.rb @@ -166,7 +166,7 @@ module Axlsx end - # Indicates if gridlines should be shown in the sheet. + # Indicates if the worksheet should print in a single page. # This is true by default. # @return [Boolean] def fit_to_page=(v) |
