Class: Gdshowsdb::ShowDiff

Inherits:
Diff
  • Object
show all
Defined in:
lib/gdshowsdb/show_diff.rb

Instance Method Summary collapse

Methods inherited from Diff

#added, #removed, #updated

Constructor Details

#initialize(year) ⇒ ShowDiff

Returns a new instance of ShowDiff.



5
6
7
8
9
10
# File 'lib/gdshowsdb/show_diff.rb', line 5

def initialize(year)
  show_yaml_parser = ShowYAMLParser.from_yaml(year)
  show_db_extractor = ShowDBExtractor.from_db(year)

  super(show_yaml_parser.parse, show_db_extractor.extract)
end