class String
Extends the String
class by adding utility methods for string coloring
Public Instance Methods
blue()
click to toggle source
# File lib/devfromcli.rb, line 15 def blue "\e[34m#{self}\e[0m" end
yellow()
click to toggle source
# File lib/devfromcli.rb, line 11 def yellow "\e[33m#{self}\e[0m" end