Sha256: fae79ec1a81c5b09eed20df396b0f432be96f09d1e5ee33e44cdf0a2226b326b
Contents?: true
Size: 425 Bytes
Versions: 7
Compression:
Stored size: 425 Bytes
Contents
module MusicBrainz module Bindings module Track def parse(xml) { position: (xml.xpath('./position').text rescue nil), recording_id: (xml.xpath('./recording').attribute('id').value rescue nil), title: (xml.xpath('./recording/title').text rescue nil), length: (xml.xpath('./recording/length').text rescue nil) } end extend self end end end
Version data entries
7 entries across 7 versions & 1 rubygems