summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGibheer <gibheer@gmail.com>2012-10-05 20:18:22 +0200
committerGibheer <gibheer@gmail.com>2012-10-05 20:18:22 +0200
commit46fcff33b76bdf9fb643994fc3d65ee2b780b651 (patch)
treea1b2d5218511f931127fb68a8f5dffecd9ac752a /lib
parent896157c2349bbea9e2c4e5cb351ea2f7778263b3 (diff)
a small api is needed
Diffstat (limited to 'lib')
-rw-r--r--lib/zero/response.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zero/response.rb b/lib/zero/response.rb
index 70b82cf..470b76d 100644
--- a/lib/zero/response.rb
+++ b/lib/zero/response.rb
@@ -15,7 +15,7 @@ module Zero
# builds the response for rack and checks for protocol errors
# @return Array the rack response
- def response
+ def to_a
[@code, @header, [@body]]
end
end