Fix padding when a cell value is nil

bug/bundler_fix
James Lee 2014-07-24 14:00:09 -05:00
parent 8a279d202c
commit 1470f3de30
No known key found for this signature in database
GPG Key ID: 2D6094C7CEA0A321
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ protected
last_cell = nil
last_idx = nil
row.each_with_index { |cell, idx|
if (last_cell)
if (idx != 0)
line << pad(' ', last_cell.to_s, last_idx)
end
# line << pad(' ', cell.to_s, idx)