diff --git a/lib/tweetstream/site_stream_client.rb b/lib/tweetstream/site_stream_client.rb
index <HASH>..<HASH> 100644
--- a/lib/tweetstream/site_stream_client.rb
+++ b/lib/tweetstream/site_stream_client.rb
@@ -99,9 +99,10 @@ module TweetStream
       http.callback do
         if http.response_header.status == 200
           if block && block.kind_of?(Proc)
-            case block.arity
-            when 1 then block.call http.response
-            else block.call
+            if block.arity == 1
+              block.call http.response
+            else
+              block.call
             end
           end
         else
removed case statement since a simple if/else will do