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
black()
click to toggle source
# File lib/rainbow/null_presenter.rb, line 43 def black self end
blink()
click to toggle source
# File lib/rainbow/null_presenter.rb, line 31 def blink self end
blue()
click to toggle source
# File lib/rainbow/null_presenter.rb, line 59 def blue self end
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
faint()
click to toggle source
# File lib/rainbow/null_presenter.rb, line 19 def faint self end
Also aliased as: dark
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