Module: MusicBrainz::Bindings::ReleaseTracks

Extended by:
ReleaseTracks
Included in:
ReleaseTracks
Defined in:
lib/musicbrainz/bindings/release_tracks.rb

Instance Method Summary collapse

Instance Method Details

#parse(xml) ⇒ Object


5
6
7
8
9
# File 'lib/musicbrainz/bindings/release_tracks.rb', line 5

def parse(xml)
  xml.xpath('./release/medium-list/medium/track-list/track').map do |xml|
    MusicBrainz::Bindings::Track.parse(xml)
  end
end