lib/muflax/array.rb in muflax-0.2.3 vs lib/muflax/array.rb in muflax-0.2.4

- old
+ new

@@ -22,10 +22,10 @@ else raise "invalid alignment: #{alignment}" end # justify all columns - (0..columns).each do |column| + 0.upto(columns).each do |column| length = lines.map{|line| line[column]}.length_of_longest lines.each do |line| elem = line[column] unless elem.nil?