lib/httpx/registry.rb in httpx-0.15.4 vs lib/httpx/registry.rb in httpx-0.16.0
- old
+ new
@@ -29,10 +29,10 @@
# end
# end
#
module Registry
# Base Registry Error
- Error = Class.new(Error)
+ class Error < Error; end
def self.extended(klass)
super
klass.extend(ClassMethods)
end