RubyGems Navigation menu

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.

Gemfile:
=

install:
=

Versions:

  1. 1.34.2 October 21, 2025 (30.5 KB)
  2. 1.34.1 October 12, 2025 (30.5 KB)
  3. 1.34.0 September 05, 2025 (30.5 KB)
  4. 1.33.0 July 27, 2025 (30.5 KB)
  5. 1.32.0 July 15, 2025 (30 KB)
  6. 0.5 June 28, 2011 (8.5 KB)
Show all versions (86 total)

Owners:

Authors:

  • William Morgan

SHA 256 checksum:

=

Total downloads 40,927,962

For this version 8,850

Version Released:

Licenses:

N/A

Required Ruby Version: None

Links: