Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Ruby 2.4 support: avoid Fixnum mention #248

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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