class Faraday::RackBuilder::Handler

ActionDispatch::MiddlewareStack::Middleware
borrowed from ActiveSupport::Dependencies::Reference &

def ==(other)

def ==(other)
  if other.is_a? Handler
    name == other.name
  elsif other.respond_to? :name
    klass == other
  else
    @name == other.to_s
  end
end

def build(app = nil)

def build(app = nil)
  klass.new(app, *@args, &@block)
end

def initialize(klass, *args, &block)

def initialize(klass, *args, &block)
.to_s
klass) if klass.respond_to?(:name)
k

def inspect

def inspect
  @name
end

def klass

def klass
  REGISTRY.get(@name)
end