class Rainbow::NullPresenter
Public Instance Methods
Source
# File lib/rainbow/null_presenter.rb, line 7 def background(*_values) self end
Also aliased as: bg
Source
# File lib/rainbow/null_presenter.rb, line 3 def color(*_values) self end
Also aliased as: foreground, fg
Source
# 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
Calls superclass method
Source
# 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
Calls superclass method