Class: Gdshowsdb::SongDiff

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

Instance Method Summary collapse

Methods inherited from Diff

#added, #removed, #updated

Constructor Details

#initialize(year) ⇒ SongDiff

Returns a new instance of SongDiff.



3
4
5
6
7
8
# File 'lib/gdshowsdb/song_diff.rb', line 3

def initialize(year)
  song_yaml_parser = SongYAMLParser.from_yaml(year)
  song_db_extractor = SongDBExtractor.from_db(year)

  super(song_yaml_parser.parse, song_db_extractor.extract)
end