Class: CMSScanner::Formatter::CliNoColour
- Defined in:
- app/formatters/cli_no_colour.rb
Overview
CLI No Colour Formatter
Direct Known Subclasses
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #colorize(text, _color_code) ⇒ Object
-
#format ⇒ Object
Override to get the cli views.
Methods inherited from Cli
#amber, #blue, #bold, #critical_icon, #green, #info_icon, #notice_icon, #red, #warning_icon
Methods inherited from Base
#base_format, #beautify, #formats, #initialize, #output, #render, #template_vars, #user_interaction?, #view_path, #views_directories
Constructor Details
This class inherits a constructor from CMSScanner::Formatter::Base
Instance Method Details
#colorize(text, _color_code) ⇒ Object
12 13 14 |
# File 'app/formatters/cli_no_colour.rb', line 12 def colorize(text, _color_code) text end |
#format ⇒ Object
Override to get the cli views
8 9 10 |
# File 'app/formatters/cli_no_colour.rb', line 8 def format 'cli' end |