class Rouge::CLI::Debug
Public Class Methods
Source
# File lib/rouge/cli.rb, line 359 def self.doc return enum_for(:doc) unless block_given? yield %|usage: rougify debug [<options>]| yield %|| yield %|Debug a lexer. Similar options to `rougify highlight`, but| yield %|defaults to the `null` formatter, and ensures the `debug`| yield %|option is enabled, to print debugging information to stdout.| end
Source
# File lib/rouge/cli.rb, line 369 def self.parse_opts(argv) out = super(argv) out[:lexer_opts]['debug'] = '1' out[:formatter] = 'null' out end
Calls superclass method
Rouge::CLI::Highlight::parse_opts