Class: GemsBond::Printers::Stdout

Inherits:
SimpleDelegator
  • Object
show all
Includes:
Helpers::FormattingHelper
Defined in:
lib/gems_bond/printers/stdout.rb

Overview

Inspects gem and outputs the result

Constant Summary

Constants included from Helpers::FormattingHelper

Helpers::FormattingHelper::MISSING

Instance Method Summary collapse

Methods included from Helpers::FormattingHelper

human_date, human_number, human_score

Instance Method Details

#callvoid

This method returns an undefined value.

Logs gem information



13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/gems_bond/printers/stdout.rb', line 13

def call
  line_break
  puts "--- #{name} info ---".upcase
  line_break
  puts description
  line_break
  log_url
  log_version
  log_counts
  log_activity
  line_break
  return unless unknown

  puts "Note: this gem is not listed in your current dependencies!"
  line_break
end