From 46fcff33b76bdf9fb643994fc3d65ee2b780b651 Mon Sep 17 00:00:00 2001 From: Gibheer Date: Fri, 5 Oct 2012 20:18:22 +0200 Subject: a small api is needed --- lib/zero/response.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3-70-g09d2