Class: Webrat::Session::MockBody
- Inherits:
-
Object
- Object
- Webrat::Session::MockBody
- Defined in:
- lib/cucumber-wordpress/webrat-patches.rb
Instance Method Summary collapse
- #body ⇒ Object
-
#initialize(response_body) ⇒ MockBody
constructor
A new instance of MockBody.
Constructor Details
#initialize(response_body) ⇒ MockBody
Returns a new instance of MockBody.
12 13 14 |
# File 'lib/cucumber-wordpress/webrat-patches.rb', line 12 def initialize response_body @response_body = response_body end |
Instance Method Details
#body ⇒ Object
15 16 17 |
# File 'lib/cucumber-wordpress/webrat-patches.rb', line 15 def body @response_body end |