class String

Add namespaced refinement for the color scheme (we are not using HighLine's stuff like `ColorScheme` or `HighLine.colorize_strings`).

Public Instance Methods

c_error() click to toggle source
# File lib/grundstein/refinements/colored_strings.rb, line 24
def c_error
  HighLine.color(self, :red, :bold)
end
c_gen() click to toggle source
# File lib/grundstein/refinements/colored_strings.rb, line 12
def c_gen
  HighLine.color(self, :blue, :bold)
end
c_info() click to toggle source
# File lib/grundstein/refinements/colored_strings.rb, line 16
def c_info
  HighLine.color(self, :green, :bold)
end
c_warning() click to toggle source
# File lib/grundstein/refinements/colored_strings.rb, line 20
def c_warning
  HighLine.color(self, :yellow, :bold)
end