Sha256: 556d252baa0d3adf58ab5f0ec25cd82694e77817d0be1de0dacd7c02e41065fd

Contents?: true

Size: 301 Bytes

Versions: 5

Compression:

Stored size: 301 Bytes

Contents

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

5 entries across 5 versions & 1 rubygems

Version Path
whatsup_github-0.3.1 lib/whatsup_github/generator.rb
whatsup_github-0.3.0 lib/whatsup_github/generator.rb
whatsup_github-0.2.0 lib/whatsup_github/generator.rb
whatsup_github-0.1.1 lib/whatsup_github/generator.rb
whatsup_github-0.0.1 lib/whatsup_github/generator.rb