Class: Dressing::Capybara::Session
- Inherits:
-
Capybara::Session
- Object
- Capybara::Session
- Dressing::Capybara::Session
- Defined in:
- lib/dressing/capybara/session.rb
Instance Attribute Summary collapse
-
#driver ⇒ Object
readonly
Returns the value of attribute driver.
Instance Method Summary collapse
-
#initialize(driver) ⇒ Session
constructor
A new instance of Session.
Constructor Details
#initialize(driver) ⇒ Session
Returns a new instance of Session.
6 7 8 9 |
# File 'lib/dressing/capybara/session.rb', line 6 def initialize(driver) @driver = driver super nil, driver.app end |
Instance Attribute Details
#driver ⇒ Object (readonly)
Returns the value of attribute driver.
4 5 6 |
# File 'lib/dressing/capybara/session.rb', line 4 def driver @driver end |