From 753a7a27c992c6aecfd527e95355d564b2902302 Mon Sep 17 00:00:00 2001 From: Roque Pinel Date: Fri, 4 Dec 2015 14:18:55 -0500 Subject: [ci skip] Fix the documentation for Worksheet#cols --- lib/axlsx/workbook/worksheet/worksheet.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3