Class: FronkinBandcampScraper::Artist

Inherits:
Object
  • Object
show all
Defined in:
lib/fronkin_bandcamp_scraper/artist.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ Artist

Returns a new instance of Artist.

Yields:

  • (_self)

Yield Parameters:



5
6
7
# File 'lib/fronkin_bandcamp_scraper/artist.rb', line 5

def initialize
  yield self if block_given?
end

Instance Attribute Details

#locationObject

Returns the value of attribute location.



3
4
5
# File 'lib/fronkin_bandcamp_scraper/artist.rb', line 3

def location
  @location
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/fronkin_bandcamp_scraper/artist.rb', line 3

def name
  @name
end

#photoObject

Returns the value of attribute photo.



3
4
5
# File 'lib/fronkin_bandcamp_scraper/artist.rb', line 3

def photo
  @photo
end