Module: Rack::Test
- Defined in:
- lib/rack/test.rb,
lib/rack/test/utils.rb,
lib/rack/test/methods.rb,
lib/rack/test/cookie_jar.rb,
lib/rack/test/uploaded_file.rb,
lib/rack/test/mock_digest_request.rb
Defined Under Namespace
Modules: Methods, Utils Classes: Cookie, CookieJar, Error, MockDigestRequest, Session, UploadedFile
Constant Summary collapse
- VERSION =
"0.6.3"
- DEFAULT_HOST =
"example.org"
- MULTIPART_BOUNDARY =
"----------XnJLe9ZIbbGUYtzPQJ16u1"
Class Method Summary collapse
Class Method Details
.encoding_aware_strings? ⇒ Boolean
313 314 315 |
# File 'lib/rack/test.rb', line 313 def self.encoding_aware_strings? defined?(Encoding) && "".respond_to?(:encode) end |