lib/httpx/registry.rb in httpx-0.7.0 vs lib/httpx/registry.rb in httpx-0.8.0

- old
+ new

@@ -62,10 +62,11 @@ handler = @registry.fetch(tag) raise(Error, "#{tag} is not registered in #{self}") unless handler case handler when Symbol, String - const_get(handler) + obj = const_get(handler) + @registry[tag] = obj else handler end end