RubyGems Navigation menu

columnize 0.3.5

In showing a long lists, sometimes one would prefer to see the value arranged aligned in columns. Some examples include listing methods of an object or debugger commands. An Example: ``` require "columnize" Columnize.columnize((1..100).to_a, :displaywidth=>60) puts Columnize.columnize((1..100).to_a, :displaywidth=>60) 1 8 15 22 29 36 43 50 57 64 71 78 85 92 99 2 9 16 23 30 37 44 51 58 65 72 79 86 93 100 3 10 17 24 31 38 45 52 59 66 73 80 87 94 4 11 18 25 32 39 46 53 60 67 74 81 88 95 5 12 19 26 33 40 47 54 61 68 75 82 89 96 6 13 20 27 34 41 48 55 62 69 76 83 90 97 7 14 21 28 35 42 49 56 63 70 77 84 91 98 See Examples in the rdoc documentation for more examples. ```

Versions:

  1. 0.8.9 - April 19, 2014 (16.5 KB)
  2. 0.3.6 - December 17, 2011 (13.5 KB)
  3. 0.3.5 - November 24, 2011 (14 KB)
  4. 0.3.4 - July 5, 2011 (13.5 KB)
  5. 0.3.3 - June 11, 2011 (17 KB)
Show all versions (11 total)

Authors:

  • R. Bernstein

Owners:

5ac2e22e18cae6289af4f84512439eb700341644ed62ea57e07b217e6009cf22

Total downloads 6,378,747

For this version 94,333

Show all versions (11 total)

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'columnize', '~> 0.3.5' = Copy to clipboard Copied!

install:
gem install columnize -v 0.3.5 = Copy to clipboard Copied!

Links: