Class: ActionController::Filters::ClassMethods::FilterProxy
- Defined in:
- lib/action_controller/filters.rb
Overview
Abstract base class for filter proxies. FilterProxy objects are meant to mimic the behaviour of the old before_filter and after_filter by moving the logic into the filter itself.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Filter
#excluded_actions, #included_actions
Instance Method Summary collapse
- #around? ⇒ Boolean
-
#filter ⇒ Object
:nodoc:.
Methods inherited from Filter
#after?, #before?, #call, #initialize
Constructor Details
This class inherits a constructor from ActionController::Filters::ClassMethods::Filter
Instance Method Details
#around? ⇒ Boolean
424 425 426 |
# File 'lib/action_controller/filters.rb', line 424 def around? false end |
#filter ⇒ Object
:nodoc:
420 421 422 |
# File 'lib/action_controller/filters.rb', line 420 def filter @filter.filter end |