rocky/columnize — Issue #3: Divide by 0 exceptions when line width > displaywidth
Author: djiang
Created: 2011-11-16 00:22:41+00:00
State: open

data = ["hey", "you", "whats", "upppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp"]

columnize(data, :arrange_vertical => false, :lineprefix => line_prefix)

ZeroDivisionError: divided by 0