Class: CMSScanner::Formatter::CliNoColour
- Defined in:
- app/formatters/cli_no_colour.rb
Overview
CLI No Colour Formatter
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
Methods inherited from Base
#base_format, #beautify, #formats, #output, #render, #template_vars, #view_path, #views_directories
Instance Method Details
#colorize(text, _color_code) ⇒ Object
10 11 12 |
# File 'app/formatters/cli_no_colour.rb', line 10 def colorize(text, _color_code) text end |
#format ⇒ Object
Override to get the cli views
6 7 8 |
# File 'app/formatters/cli_no_colour.rb', line 6 def format 'cli' end |