summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRandy Morgan (@morgan_randy) <[email protected]>2018-02-06 20:41:35 +0900
committerGitHub <[email protected]>2018-02-06 20:41:35 +0900
commit96b68c64a7b63c95dcd22c01772c8e834656ad9d (patch)
tree6e704957c9404bd27e64106b6199ac1d821ca031
parent5063753d373abe475dd7b170cb2e6d4420ed8ee9 (diff)
parent753a7a27c992c6aecfd527e95355d564b2902302 (diff)
downloadcaxlsx-96b68c64a7b63c95dcd22c01772c8e834656ad9d.tar.gz
caxlsx-96b68c64a7b63c95dcd22c01772c8e834656ad9d.zip
Merge pull request #432 from repinel/fix-cols-doc
[ci skip] Fix the documentation for Worksheet#cols
-rw-r--r--lib/axlsx/workbook/worksheet/worksheet.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/worksheet/worksheet.rb b/lib/axlsx/workbook/worksheet/worksheet.rb
index d39bf069..f094c5cd 100644
--- a/lib/axlsx/workbook/worksheet/worksheet.rb
+++ b/lib/axlsx/workbook/worksheet/worksheet.rb
@@ -152,7 +152,7 @@ module Axlsx
# cell at a specific index. The block will be called with the row and column
# index in the missing cell was found.
# @example
- # cols { |row_index, column_index| p "warn - row #{row_index} is does not have a cell at #{column_index}
+ # cols { |row_index, column_index| puts "warn - row #{row_index} does not have a cell at #{column_index}" }
def cols(&block)
@rows.transpose(&block)
end