Class: RCheck::ReportPrinters::Abstract

Inherits:
Object
  • Object
show all
Includes:
Colors::Mixin
Defined in:
lib/rcheck/report_printers.rb

Direct Known Subclasses

List, Numbers, Tree

Instance Method Summary collapse

Methods included from Colors::Mixin

#cprint, #cputs, #with_color

Constructor Details

#initialize(opts = {}) ⇒ Abstract

Returns a new instance of Abstract.



7
8
9
10
# File 'lib/rcheck/report_printers.rb', line 7

def initialize(opts={})
  @opts = opts
  @opts[:show] ||= :problematic
end