Class: VegasInsiderScraper
- Inherits:
-
Object
- Object
- VegasInsiderScraper
- Defined in:
- lib/vegas_insider_scraper.rb
Constant Summary collapse
Instance Attribute Summary collapse
-
#sports ⇒ Object
readonly
Returns the value of attribute sports.
Instance Method Summary collapse
-
#initialize ⇒ VegasInsiderScraper
constructor
A new instance of VegasInsiderScraper.
Constructor Details
#initialize ⇒ VegasInsiderScraper
Returns a new instance of VegasInsiderScraper.
18 19 20 |
# File 'lib/vegas_insider_scraper.rb', line 18 def initialize @sports = SPORTS.map { |sport_class| sport_class.new } end |
Instance Attribute Details
#sports ⇒ Object (readonly)
Returns the value of attribute sports.
14 15 16 |
# File 'lib/vegas_insider_scraper.rb', line 14 def sports @sports end |