registry: remove conversion (internal API, and not used anywhere)

This commit is contained in:
HoneyryderChuck 2021-02-19 16:19:35 +00:00
parent 3ed3dcaa43
commit 18625dbc11

View File

@ -62,13 +62,7 @@ module HTTPX
handler = @registry.fetch(tag)
raise(Error, "#{tag} is not registered in #{self}") unless handler
case handler
when Symbol, String
obj = const_get(handler)
@registry[tag] = obj
else
handler
end
handler
end
# @param [Object] tag the identifier for the handler in the registry