Class: Hallon::ArtistBrowse::SimilarArtists

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

Overview

Enumerates through all similar artists 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) ⇒ Artist?

Returns:



54
55
56
# File 'lib/hallon/artist_browse.rb', line 54

item :artistbrowse_similar_artist do |artist|
  Artist.from(artist)
end

#sizeInteger

Returns size of this enumerator.

Returns:

  • (Integer)

    size of this enumerator



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

size :artistbrowse_num_similar_artists