Class: Hallon::Playlist::Tracks

Inherits:
Enumerator show all
Defined in:
lib/hallon/playlist.rb

Overview

Enumerates through all tracks of a playlist.

Instance Attribute Summary

Attributes inherited from Enumerator

#pointer

Instance Method Summary collapse

Methods inherited from Enumerator

#[], #each, #empty?, #initialize, item, size, #to_s

Constructor Details

This class inherits a constructor from Hallon::Enumerator

Instance Method Details

#playlist_trackTrack?


14
15
16
# File 'lib/hallon/playlist.rb', line 14

item :playlist_track do |track, index, pointer|
  Playlist::Track.from(track, pointer, index)
end