From 24604910b2a3c7599a6b74873a78bfd5a1151cc8 Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Wed, 17 Jan 2018 22:26:25 +0100 Subject: [PATCH] Ruby 2.4 support: avoid Fixnum mention - see #247 --- lib/reel/connection.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/reel/connection.rb b/lib/reel/connection.rb index d2eaf2b..b9c5611 100644 --- a/lib/reel/connection.rb +++ b/lib/reel/connection.rb @@ -98,7 +98,7 @@ def respond(response, headers_or_body = {}, body = nil) end case response - when Symbol, Fixnum, Integer + when Symbol, Integer response = Response.new(response, headers, body) when Response else raise TypeError, "invalid response: #{response.inspect}"