Class: Reactive::Mvc::Controller::Filters::ClassMethods::AfterFilterProxy
- Inherits:
-
FilterProxy
- Object
- Filter
- FilterProxy
- Reactive::Mvc::Controller::Filters::ClassMethods::AfterFilterProxy
- Defined in:
- lib/reactive-mvc/controller/filters.rb
Overview
:nodoc:
Instance Attribute Summary
Attributes inherited from Filter
#excluded_actions, #filter, #included_actions
Instance Method Summary collapse
Methods inherited from FilterProxy
Methods inherited from Filter
#after?, #around?, #before?, #initialize
Constructor Details
This class inherits a constructor from Reactive::Mvc::Controller::Filters::ClassMethods::Filter
Instance Method Details
#call(controller) ⇒ Object
461 462 463 464 |
# File 'lib/reactive-mvc/controller/filters.rb', line 461 def call(controller) yield run(controller) end |
#run(controller) ⇒ Object
457 458 459 |
# File 'lib/reactive-mvc/controller/filters.rb', line 457 def run(controller) @filter.call(controller) end |
#type ⇒ Object
453 454 455 |
# File 'lib/reactive-mvc/controller/filters.rb', line 453 def type :after end |