console
Console is a hlper for displaying super-ASCII strings on the console. It turns out that all these funny foreign characters not only take up strange numbers of bytes, they also take up strange numbers of columns on the screen when you print them. Console procides utility methods for determining the display width of a string, and for taking a substring in a display-width-centric manner.
Types
Docs
Guides
Zeitwerk
Namespace
Optimized
0.1
William Morgan
-
bundle add console
Getting Started
Learn more about the Console gem.
Playground
Test, play and inspect the gem for yourself