Class: NeweggScraperChsbr::Name
- Inherits:
-
Object
- Object
- NeweggScraperChsbr::Name
- Defined in:
- lib/newegg_scraper_chsbr/name.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Name
constructor
A new instance of Name.
Constructor Details
#initialize(name) ⇒ Name
Returns a new instance of Name.
6 7 8 |
# File 'lib/newegg_scraper_chsbr/name.rb', line 6 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/newegg_scraper_chsbr/name.rb', line 4 def name @name end |