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 16
def black; self; end
blue() click to toggle source
# File lib/rainbow/null_presenter.rb, line 20
def blue; self; end
bold()
Alias for: bright
bright() click to toggle source
# File lib/rainbow/null_presenter.rb, line 8
def bright; self; end
Also aliased as: bold
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 22
def cyan; self; end
dark()
Alias for: faint
faint() click to toggle source
# File lib/rainbow/null_presenter.rb, line 9
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 18
def green; self; end
hide() click to toggle source
# File lib/rainbow/null_presenter.rb, line 14
def hide; self; end
inverse() click to toggle source
# File lib/rainbow/null_presenter.rb, line 13
def inverse; self; end
italic() click to toggle source
# File lib/rainbow/null_presenter.rb, line 10
def italic; self; end
magenta() click to toggle source
# File lib/rainbow/null_presenter.rb, line 21
def magenta; self; end
method_missing(method_name,*args) click to toggle source
Calls superclass method
# File lib/rainbow/null_presenter.rb, line 25
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 17
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 11
def underline; self; end
white() click to toggle source
# File lib/rainbow/null_presenter.rb, line 23
def white; self; end
yellow() click to toggle source
# File lib/rainbow/null_presenter.rb, line 19
def yellow; self; end