RubyGems.org

console

0.3

Console is a helper class for displaying super-ASCII strings on the console. Console is needed when you want to mix two-column (e.g. Chinese) and single-column (e.g. ASCII) characters and know how much horizontal realestate the result takes on the screen. This is generally necessary when you want to have internationalization support in a console-based program. Console currently provides utility methods for determining the display width of a string, and for taking a substring based on display position and display width.

installgem install console -v 0.3
Authors

William Morgan

14,193 total downloads 1,705 for this version
Owners

B12a9ca17dffffcde539ac7a421b5bdb

Gemfile
gem 'console', '~> 0.3'
Versions
  1. 0.5 June 28, 2011 (8.5 KB)
  2. 0.4 April 30, 2011 (8.5 KB)
  3. 0.3 January 18, 2011 (8.5 KB)
  4. 0.2.3 May 19, 2010 (7.5 KB)
  5. 0.2.2 May 19, 2010 (7.5 KB)
Show all versions (8 total)