diff options
author | Gibheer <gibheer@gmail.com> | 2012-10-05 20:18:22 +0200 |
---|---|---|
committer | Gibheer <gibheer@gmail.com> | 2012-10-05 20:18:22 +0200 |
commit | 46fcff33b76bdf9fb643994fc3d65ee2b780b651 (patch) | |
tree | a1b2d5218511f931127fb68a8f5dffecd9ac752a /lib | |
parent | 896157c2349bbea9e2c4e5cb351ea2f7778263b3 (diff) |
a small api is needed
Diffstat (limited to 'lib')
-rw-r--r-- | lib/zero/response.rb | 2 |
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 |