Class: NeweggScraperChsbr::Name

Inherits:
Object
  • Object
show all
Defined in:
lib/newegg_scraper_chsbr/name.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/newegg_scraper_chsbr/name.rb', line 4

def name
  @name
end