Class: NHLScores::TextHelpers
- Inherits:
-
Object
- Object
- NHLScores::TextHelpers
- Defined in:
- lib/nhl_scores/cli.rb
Class Method Summary collapse
Class Method Details
.align(str) ⇒ Object
92 93 94 |
# File 'lib/nhl_scores/cli.rb', line 92 def align(str) str.rjust(32) end |
.yellow(str) ⇒ Object
88 89 90 |
# File 'lib/nhl_scores/cli.rb', line 88 def yellow(str) color(str, "\e[0;33m") end |