Sha256: dbe5c24867b152bf3bcb0a16c807b278a80ebe1f0180ce287440dabef0faa20c

Contents?: true

Size: 333 Bytes

Versions: 6

Compression:

Stored size: 333 Bytes

Contents

# frozen_string_literal: true

module WhatsupGithub
  # Creates the final table
  class Generator
    def initialize(since)
      @collector = RowCollector.new(since: since)
    end

    def content
      @collector.sort_by_date
    end

    def run(formatter, content)
      formatter.generate_output_from content
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
whatsup_github-1.0.1 lib/whatsup_github/generator.rb
whatsup_github-1.0.0 lib/whatsup_github/generator.rb
whatsup_github-0.5.0 lib/whatsup_github/generator.rb
whatsup_github-0.4.2 lib/whatsup_github/generator.rb
whatsup_github-0.4.1 lib/whatsup_github/generator.rb
whatsup_github-0.4.0 lib/whatsup_github/generator.rb