D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
lib64
/
ruby
/
gems
/
1.8
/
doc
/
rack-1.6.1
/
ri
/
Rack
/
MockResponse
/
Filename :
cdesc-MockResponse.yaml
back
Copy
--- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Errors name: errors rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: Headers name: original_headers rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Rack::MockResponse provides useful helpers for testing your apps. Usually, you don't create the MockResponse on your own, but use MockRequest. constants: [] full_name: Rack::MockResponse includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: =~ - !ruby/object:RI::MethodSummary name: body - !ruby/object:RI::MethodSummary name: empty? - !ruby/object:RI::MethodSummary name: match name: MockResponse superclass: Rack::Response