Class: Webrat::SeleniumResponse
- Defined in:
- lib/webrat/selenium/selenium_session.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#session ⇒ Object
readonly
Returns the value of attribute session.
Instance Method Summary collapse
-
#initialize(session, body) ⇒ SeleniumResponse
constructor
A new instance of SeleniumResponse.
- #selenium ⇒ Object
Constructor Details
#initialize(session, body) ⇒ SeleniumResponse
Returns a new instance of SeleniumResponse.
21 22 23 24 |
# File 'lib/webrat/selenium/selenium_session.rb', line 21 def initialize(session, body) @session = session @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
18 19 20 |
# File 'lib/webrat/selenium/selenium_session.rb', line 18 def body @body end |
#session ⇒ Object (readonly)
Returns the value of attribute session.
19 20 21 |
# File 'lib/webrat/selenium/selenium_session.rb', line 19 def session @session end |
Instance Method Details
#selenium ⇒ Object
26 27 28 |
# File 'lib/webrat/selenium/selenium_session.rb', line 26 def selenium session.selenium end |