Class: Munchsrb::Gather::Scenario
- Inherits:
-
Object
- Object
- Munchsrb::Gather::Scenario
- Defined in:
- lib/munchsrb/gather/scenario.rb
Overview
Munchsrb::Gather::Scenario written story page scraping.
Instance Attribute Summary collapse
-
#details ⇒ Object
readonly
Returns the value of attribute details.
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize ⇒ Scenario
constructor
A new instance of Scenario.
Constructor Details
Instance Attribute Details
#details ⇒ Object (readonly)
Returns the value of attribute details.
7 8 9 |
# File 'lib/munchsrb/gather/scenario.rb', line 7 def details @details end |
Instance Method Details
#execute ⇒ Object
15 16 17 18 19 20 21 22 |
# File 'lib/munchsrb/gather/scenario.rb', line 15 def execute @page..click # open menu page Munchsrb::Gather::PageObject::MenuPage.new.tap do |page| @details = page.details end ensure quit end |