Class: ActionDispatch::MiddlewareStack::Middleware
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Subclasses:
ActionController::MiddlewareStack::Middleware
|
|
Inherits: | Object |
Defined in: | actionpack/lib/action_dispatch/middleware/stack.rb |
Class Method Summary
- .new(klass, args, block) ⇒ Middleware constructor
Instance Attribute Summary
Instance Method Summary
Constructor Details
.new(klass, args, block) ⇒ Middleware
Instance Attribute Details
#args (readonly)
[ GitHub ]#block (readonly)
[ GitHub ]#klass (readonly)
[ GitHub ]Instance Method Details
#==(middleware)
[ GitHub ]#build(app)
[ GitHub ]#build_instrumented(app)
[ GitHub ]# File 'actionpack/lib/action_dispatch/middleware/stack.rb', line 47
def build_instrumented(app) InstrumentationProxy.new(build(app), inspect) end
#inspect
[ GitHub ]#name
[ GitHub ]# File 'actionpack/lib/action_dispatch/middleware/stack.rb', line 24
def name; klass.name; end