Class: Hallon::ArtistBrowse::Tracks

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

Overview

Enumerates through all tracks of an artist browsing object.

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

#at(index) ⇒ Track?

Returns:


34
35
36
# File 'lib/hallon/artist_browse.rb', line 34

item :artistbrowse_track do |track|
  Track.from(track)
end

#sizeInteger

Returns size of this enumerator.

Returns:

  • (Integer)

    size of this enumerator


31
# File 'lib/hallon/artist_browse.rb', line 31

size :artistbrowse_num_tracks