Class: Hallon::AlbumBrowse::Tracks

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

Overview

Enumerates through all tracks of an album 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:


23
24
25
# File 'lib/hallon/album_browse.rb', line 23

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

#sizeInteger

Returns size of this enumerator

Returns:

  • (Integer)

    size of this enumerator


20
# File 'lib/hallon/album_browse.rb', line 20

size :albumbrowse_num_tracks