Class: NeweggScraperChsbr::Scraper
- Inherits:
-
Object
- Object
- NeweggScraperChsbr::Scraper
- Defined in:
- lib/newegg_scraper_chsbr/scraper.rb
Constant Summary collapse
- URL =
"https://www.newegg.com/p/pl?d=cpu"
Instance Attribute Summary collapse
-
#xml_obj ⇒ Object
readonly
Returns the value of attribute xml_obj.
Instance Method Summary collapse
-
#initialize(url = URL) ⇒ Scraper
constructor
A new instance of Scraper.
Constructor Details
Instance Attribute Details
#xml_obj ⇒ Object (readonly)
Returns the value of attribute xml_obj.
3 4 5 |
# File 'lib/newegg_scraper_chsbr/scraper.rb', line 3 def xml_obj @xml_obj end |