class WhatsupGithub::Generator

Creates the final table

Public Class Methods

new(since) click to toggle source
# File lib/whatsup_github/generator.rb, line 6
def initialize(since)
  @collector = RowCollector.new(since: since)
end

Public Instance Methods

content() click to toggle source
# File lib/whatsup_github/generator.rb, line 10
def content
  @collector.sort_by_date
end
run(formatter, content) click to toggle source
# File lib/whatsup_github/generator.rb, line 14
def run(formatter, content)
  formatter.generate_output_from content
end