RubyGems.org

console

0.5

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
Authors

William Morgan

5,567 total downloads 950 for this version
Owners

518e1f08eef4d002523e1e834ab05ba0

Gemfile
gem "console", "~> 0.5"
Versions
  1. 0.5 June 28, 2011
Show all versions (8 total)