Class: GitTopic::Formatter::Topics

Inherits:
Object
  • Object
show all
Includes:
Helper, Term::ANSIColor
Defined in:
lib/git_topic/formatter/topics.rb

Overview

summarizes topics information Topic means theme that not start to implement

Defined Under Namespace

Classes: Topic

Instance Method Summary collapse

Methods included from Helper

#truncate

Instance Method Details



13
14
15
16
17
18
# File 'lib/git_topic/formatter/topics.rb', line 13

def print
  puts "#{bold}[Topics]#{clear}"
  topics = parse_topics
  print_header
  print_contents topics
end