class Rainbow::NullPresenter

Public Instance Methods

background(*values) click to toggle source
# File lib/rainbow/null_presenter.rb, line 6
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 15
def black; self; end
blue() click to toggle source
# File lib/rainbow/null_presenter.rb, line 19
def blue; self; end
bright() click to toggle source
# File lib/rainbow/null_presenter.rb, line 8
def bright; self; end
color(*values) click to toggle source
# File lib/rainbow/null_presenter.rb, line 5
def color(*values); self; end
Also aliased as: foreground, fg
cyan() click to toggle source
# File lib/rainbow/null_presenter.rb, line 21
def cyan; self; end
fg(*values)
Alias for: color
foreground(*values)
Alias for: color
green() click to toggle source
# File lib/rainbow/null_presenter.rb, line 17
def green; self; end
hide() click to toggle source
# File lib/rainbow/null_presenter.rb, line 13
def hide; self; end
inverse() click to toggle source
# File lib/rainbow/null_presenter.rb, line 12
def inverse; self; end
italic() click to toggle source
# File lib/rainbow/null_presenter.rb, line 9
def italic; self; end
magenta() click to toggle source
# File lib/rainbow/null_presenter.rb, line 20
def magenta; self; end
method_missing(method_name,*args) click to toggle source
Calls superclass method
# File lib/rainbow/null_presenter.rb, line 24
def method_missing(method_name,*args)
  if Color::X11Named.color_names.include? method_name and args.empty? then
    self
  else
    super
  end
end
red() click to toggle source
# File lib/rainbow/null_presenter.rb, line 16
def red; self; end
reset() click to toggle source
# File lib/rainbow/null_presenter.rb, line 7
def reset; self; end
underline() click to toggle source
# File lib/rainbow/null_presenter.rb, line 10
def underline; self; end
white() click to toggle source
# File lib/rainbow/null_presenter.rb, line 22
def white; self; end
yellow() click to toggle source
# File lib/rainbow/null_presenter.rb, line 18
def yellow; self; end