class Rainbow::NullPresenter

Public Instance Methods

background(*_values) click to toggle source
# File lib/rainbow/null_presenter.rb, line 7
def background(*_values)
  self
end
Also aliased as: bg
bg(*_values)
Alias for: background
black() click to toggle source
# File lib/rainbow/null_presenter.rb, line 43
def black
  self
end
blue() click to toggle source
# File lib/rainbow/null_presenter.rb, line 59
def blue
  self
end
bold()
Alias for: bright
bright() click to toggle source
# File lib/rainbow/null_presenter.rb, line 15
def bright
  self
end
Also aliased as: bold
color(*_values) click to toggle source
# File lib/rainbow/null_presenter.rb, line 3
def color(*_values)
  self
end
Also aliased as: foreground, fg
cyan() click to toggle source
# File lib/rainbow/null_presenter.rb, line 67
def cyan
  self
end
dark()
Alias for: faint
faint() click to toggle source
# File lib/rainbow/null_presenter.rb, line 19
def faint
  self
end
Also aliased as: dark
fg(*_values)
Alias for: color
foreground(*_values)
Alias for: color
green() click to toggle source
# File lib/rainbow/null_presenter.rb, line 51
def green
  self
end
hide() click to toggle source
# File lib/rainbow/null_presenter.rb, line 39
def hide
  self
end
inverse() click to toggle source
# File lib/rainbow/null_presenter.rb, line 35
def inverse
  self
end
italic() click to toggle source
# File lib/rainbow/null_presenter.rb, line 23
def italic
  self
end
magenta() click to toggle source
# File lib/rainbow/null_presenter.rb, line 63
def magenta
  self
end
method_missing(method_name, *args) click to toggle source
Calls superclass method
# File lib/rainbow/null_presenter.rb, line 75
def method_missing(method_name, *args)
  if Color::X11Named.color_names.include?(method_name) && args.empty?
    self
  else
    super
  end
end
red() click to toggle source
# File lib/rainbow/null_presenter.rb, line 47
def red
  self
end
reset() click to toggle source
# File lib/rainbow/null_presenter.rb, line 11
def reset
  self
end
respond_to_missing?(method_name, *args) click to toggle source
Calls superclass method
# File lib/rainbow/null_presenter.rb, line 83
def respond_to_missing?(method_name, *args)
  Color::X11Named.color_names.include?(method_name) && args.empty? || super
end
underline() click to toggle source
# File lib/rainbow/null_presenter.rb, line 27
def underline
  self
end
white() click to toggle source
# File lib/rainbow/null_presenter.rb, line 71
def white
  self
end
yellow() click to toggle source
# File lib/rainbow/null_presenter.rb, line 55
def yellow
  self
end