lib/whatsup_github/generator.rb in whatsup_github-0.3.1 vs lib/whatsup_github/generator.rb in whatsup_github-0.4.0
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
module WhatsupGithub
# Creates the final table
class Generator
def initialize(since)
@collector = RowCollector.new(since: since)
@@ -7,10 +9,10 @@
def content
@collector.sort_by_date
end
- def run formatter, content
+ def run(formatter, content)
formatter.generate_output_from content
end
end
end