lib/iruby/formatter.rb in iruby-0.4.0 vs lib/iruby/formatter.rb in iruby-0.5.0

- old
+ new

@@ -76,19 +76,19 @@ keys1, keys2 = keys, nil header1, header2 = header, nil if maxcols && keys.size > maxcols keys1 = keys[0...maxcols / 2] - keys2 = keys[-maxcols / 2...-1] + keys2 = keys[-maxcols / 2 + 1..-1] if header header1 = header[0...maxcols / 2] - header2 = header[-maxcols / 2...-1] + header2 = header[-maxcols / 2 + 1..-1] end end if maxrows && rows.size > maxrows rows1 = rows[0...maxrows / 2] - rows2 = rows[-maxrows / 2...-1] + rows2 = rows[-maxrows / 2 + 1..-1] end table = '<table>' if header1 && options[:header] != false