borrowed from ActiveSupport::Dependencies::Reference & ActionDispatch::MiddlewareStack::Middleware
# File lib/faraday/rack_builder.rb, line 37 def ==(other) if other.is_a? Handler self.name == other.name elsif other.respond_to? :name klass == other else @name == other.to_s end end
# File lib/faraday/rack_builder.rb, line 47 def build(app) klass.new(app, *@args, &@block) end
Generated with the Darkfish Rdoc Generator 2.