summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRoque Pinel <[email protected]>2015-12-04 14:18:55 -0500
committerRoque Pinel <[email protected]>2015-12-14 06:13:24 -0500
commit753a7a27c992c6aecfd527e95355d564b2902302 (patch)
tree0f4a35e608e17ff235c4d1d5ac5dc0509f5763fa /lib
parent776aaf53cb5c19c854c27f5daedd40431ad5b2ba (diff)
downloadcaxlsx-753a7a27c992c6aecfd527e95355d564b2902302.tar.gz
caxlsx-753a7a27c992c6aecfd527e95355d564b2902302.zip
[ci skip] Fix the documentation for Worksheet#cols
Diffstat (limited to 'lib')
-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 1d35b99d..dc8da53f 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