Class: GemDigest::Reporters::Console
- Defined in:
- lib/gem_digest/reporters/console.rb
Instance Method Summary collapse
- #generate_report(categorized_gems) ⇒ Object
-
#initialize(options = {}) ⇒ Console
constructor
A new instance of Console.
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( = {}) 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 |