summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2020-01-14 12:03:26 +1300
committerGitHub <noreply@github.com>2020-01-14 12:03:26 +1300
commit73b5be3bf3c72082ca0fa77f4d55f9c5e70860ca (patch)
tree61dc0ec486e526d03e2db3ef450ed93561f50f4c
parenta40abed4e29318536568d86aba1849d94d90c47d (diff)
downloadrack-response-mock-response-consistency.tar.gz
Update lib/rack/response.rbresponse-mock-response-consistency
Co-Authored-By: Rafael França <rafael@franca.dev>
-rw-r--r--lib/rack/response.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rack/response.rb b/lib/rack/response.rb
index e3294900..a03e8490 100644
--- a/lib/rack/response.rb
+++ b/lib/rack/response.rb
@@ -21,7 +21,7 @@ module Rack
# Your application's +call+ should end returning Response#finish.
class Response
- def self.[] (status, headers, body)
+ def self.[](status, headers, body)
self.new(body, status, headers)
end