module Columnize

Module to format an Array into a single string with embedded newlines, On printing the string, the columns are aligned.

Summary

Return a string from an array with embedded newlines formatted so
that when printed the columns are aligned.
See below for examples and options to the main method +columnize+.

License

Columnize is copyright © 2007-2011, 2013 Rocky Bernstein <rockyb@rubyforge.net>

All rights reserved. You can redistribute and/or modify it under the same terms as Ruby.

Also available in Python (columnize), and Perl (Array::Columnize)

Copyright © 2007-2011, 2013 Rocky Bernstein <rockyb@rubyforge.net>

Part of Columnize to format in either direction

Sets constant Columnize::VERSION, the version number of this package. It is used in Gem creation but can also be consulted after require’ing ‘columnize’.