Class: FronkinBandcampScraper::Artist
- Inherits:
-
Object
- Object
- FronkinBandcampScraper::Artist
- Defined in:
- lib/fronkin_bandcamp_scraper/artist.rb
Instance Attribute Summary collapse
-
#location ⇒ Object
Returns the value of attribute location.
-
#name ⇒ Object
Returns the value of attribute name.
-
#photo ⇒ Object
Returns the value of attribute photo.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Artist
constructor
A new instance of Artist.
Constructor Details
#initialize {|_self| ... } ⇒ Artist
Returns a new instance of Artist.
5 6 7 |
# File 'lib/fronkin_bandcamp_scraper/artist.rb', line 5 def initialize yield self if block_given? end |
Instance Attribute Details
#location ⇒ Object
Returns the value of attribute location.
3 4 5 |
# File 'lib/fronkin_bandcamp_scraper/artist.rb', line 3 def location @location end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/fronkin_bandcamp_scraper/artist.rb', line 3 def name @name end |
#photo ⇒ Object
Returns the value of attribute photo.
3 4 5 |
# File 'lib/fronkin_bandcamp_scraper/artist.rb', line 3 def photo @photo end |