Class: Hallon::ArtistBrowse::PortraitLinks

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

Overview

Enumerates through all portrait links 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) ⇒ Link?

Returns:



24
25
26
# File 'lib/hallon/artist_browse.rb', line 24

item :link_create_from_artistbrowse_portrait do |portrait|
  Link.from(portrait)
end

#sizeInteger

Returns size of this enumerator.

Returns:

  • (Integer)

    size of this enumerator



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

size :artistbrowse_num_portraits