Skip to content

Commit

Permalink
Ruby 2.4 support: avoid Fixnum mention
Browse files Browse the repository at this point in the history
  • Loading branch information
olleolleolle authored Jan 17, 2018
1 parent 3de294b commit 2460491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reel/connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 2460491

Please sign in to comment.