- For color methods, see: http://github.com/davidcole/terminal-display-colors
- For both formatting and colors, see: http://github.com/davidcole/terminal-display
Adds formatting methods to String for easily adding formatting to terminal output.
- Displays strings as formatted output.
require 'rubygems'
require 'terminal-display-formats'
puts 'bold'.bold
puts 'underline'.underline
puts 'blink'.blink
Ruby.
gem install terminal-display-formats
terminal-display-formats is released under the MIT License.