RubyGems Navigation menu

columnize 0.3.1

Return a list of strings as a set of arranged in columns. For example, for a line width of 4 characters (arranged vertically): ['1', '2,', '3', '4'] => '1 3 2 4 ' or arranged horizontally: ['1', '2,', '3', '4'] => '1 2 3 4 ' Each column is only as wide as necessary. By default, columns are separated by two spaces - one was not legible enough. Set "colsep" to adjust the string separate columns. Set `displaywidth' to set the line width. Normally, consecutive items go down from the top to bottom from the left-most column to the right-most. If +arrange_vertical+ is set false, consecutive items will go across, left to right, top to bottom.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.9.0 - December 05, 2014 (16.5 KB)
  2. 0.8.9 - April 19, 2014 (16.5 KB)
  3. 0.3.6 - December 18, 2011 (13.5 KB)
  4. 0.3.5 - November 25, 2011 (14.0 KB)
  5. 0.3.4 - July 06, 2011 (13.5 KB)
  6. 0.3.1 - August 05, 2009 (15.5 KB)
显示所有版本 (共 12 个)

业主:

作者:

  • R. Bernstein

SHA 256 校验和:

4ae4e518c4d8ae4bb4f9852333fa8fd8fc6d80d55d6859000e62816c533198e2

下载总量 28,395,644

这个版本 663,328

许可:

需要的 Ruby 版本: >= 1.8.2

链接: