Class: GemDigest::Reporters::Console

Inherits:
Base
  • Object
show all
Defined in:
lib/gem_digest/reporters/console.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Console

Returns a new instance of Console.



9
10
11
12
# File 'lib/gem_digest/reporters/console.rb', line 9

def initialize(options = {})
  super
  @pastel = Pastel.new
end

Instance Method Details

#generate_report(categorized_gems) ⇒ Object



14
15
16
17
# File 'lib/gem_digest/reporters/console.rb', line 14

def generate_report(categorized_gems)
  print_summary(categorized_gems)
  print_category_tables(categorized_gems)
end