RubyGems.org

console

0.2.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 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
Authors

William Morgan

418 total downloads 132 for this version
Versions
  1. 0.2.3 May 19, 2010
  2. 0.2.2 May 19, 2010
  3. 0.2.1 May 11, 2010
  4. 0.2 May 11, 2010
  5. 0.1 May 11, 2010