lib/itunes_parser/track.rb in itunes_parser-1.0.3 vs lib/itunes_parser/track.rb in itunes_parser-1.1.0
- old
+ new
@@ -14,10 +14,10 @@
end
end
# Shows one track.
# Returns Hash with track info.
- def track(id:)
+ def track(id)
tracks.select{|pl| pl["#{id}"] }.first[1]
end
end
end