class Rainbow::NullPresenter

Public Instance Methods

background(*_values) click to toggle source
# File lib/rainbow/null_presenter.rb, line 8
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 48
def black
  self
end
blue() click to toggle source
# File lib/rainbow/null_presenter.rb, line 64
def blue
  self
end
bold()
Alias for: bright
bright() click to toggle source
# File lib/rainbow/null_presenter.rb, line 16
def bright
  self
end
Also aliased as: bold
color(*_values) click to toggle source
# File lib/rainbow/null_presenter.rb, line 4
def color(*_values)
  self
end
Also aliased as: foreground, fg
cross_out() click to toggle source
# File lib/rainbow/null_presenter.rb, line 44
def cross_out
  self
end
Also aliased as: strike
cyan() click to toggle source
# File lib/rainbow/null_presenter.rb, line 72
def cyan
  self
end
dark()
Alias for: faint
faint() click to toggle source
# File lib/rainbow/null_presenter.rb, line 20
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 56
def green
  self
end
hide() click to toggle source
# File lib/rainbow/null_presenter.rb, line 40
def hide
  self
end
inverse() click to toggle source
# File lib/rainbow/null_presenter.rb, line 36
def inverse
  self
end
italic() click to toggle source
# File lib/rainbow/null_presenter.rb, line 24
def italic
  self
end
magenta() click to toggle source
# File lib/rainbow/null_presenter.rb, line 68
def magenta
  self
end
method_missing(method_name, *args) click to toggle source
Calls superclass method
# File lib/rainbow/null_presenter.rb, line 80
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 52
def red
  self
end
reset() click to toggle source
# File lib/rainbow/null_presenter.rb, line 12
def reset
  self
end
respond_to_missing?(method_name, *args) click to toggle source
Calls superclass method
# File lib/rainbow/null_presenter.rb, line 88
def respond_to_missing?(method_name, *args)
  Color::X11Named.color_names.include?(method_name) && args.empty? || super
end
strike()
Alias for: cross_out
underline() click to toggle source
# File lib/rainbow/null_presenter.rb, line 28
def underline
  self
end
white() click to toggle source
# File lib/rainbow/null_presenter.rb, line 76
def white
  self
end
yellow() click to toggle source
# File lib/rainbow/null_presenter.rb, line 60
def yellow
  self
end