Module: XRay

Defined in:
lib/node.rb,
lib/rule.rb,
lib/runner.rb,
lib/context.rb,
lib/js/parser.rb,
lib/js/struct.rb,
lib/log_entry.rb,
lib/cmd_runner.rb,
lib/css/parser.rb,
lib/css/reader.rb,
lib/css/struct.rb,
lib/html/query.rb,
lib/js/stat/if.rb,
lib/base_parser.rb,
lib/html/parser.rb,
lib/html/struct.rb,
lib/js/rule/all.rb,
lib/js/stat/try.rb,
lib/js/stat/var.rb,
lib/parse_error.rb,
lib/rule_helper.rb,
lib/js/expr/expr.rb,
lib/js/stat/iter.rb,
lib/js/stat/stat.rb,
lib/position_info.rb,
lib/encoding_error.rb,
lib/file_validator.rb,
lib/js/rule/helper.rb,
lib/js/stat/switch.rb,
lib/js/expr/operate.rb,
lib/js/expr/primary.rb,
lib/parser_visitable.rb,
lib/js/expr/left_hand.rb,
lib/js/rule/checklist.rb,
lib/js/rule/no_global.rb,
lib/css/rule/checklist.rb,
lib/helper/file_reader.rb,
lib/printer/vim_printer.rb,
lib/js/rule/file_checker.rb,
lib/printer/base_printer.rb,
lib/printer/console_printer.rb,
lib/printer/nocolor_printer.rb,
lib/html/rule/check_tag_rule.rb,
lib/css/rule/check_compression_rule.rb

Defined Under Namespace

Modules: CSS, Context, HTML, Helper, JS, ParserVisitable, Rule, RuleHelper Classes: BaseParser, BasePrinter, CMDOptions, CMDRunner, ConsolePrinter, DefaultContext, EncodingError, FileValidator, LogEntry, NoColorPrinter, Node, ParseError, Position, PositionInfo, Runner, VimPrinter, VisitResult

Constant Summary collapse

Version =
"0.1"

Class Method Summary collapse

Class Method Details

.printerObject



3
4
5
# File 'lib/printer/base_printer.rb', line 3

def self.printer
  @@printer
end

.register_printer(klass) ⇒ Object



7
8
9
# File 'lib/printer/base_printer.rb', line 7

def self.register_printer(klass)
  @@printer = klass
end