Class: ActionController::Filters::ClassMethods::FilterProxy

Inherits:
Filter
  • Object
show all
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

AfterFilterProxy, BeforeFilterProxy

Instance Attribute Summary

Attributes inherited from Filter

#excluded_actions, #included_actions

Instance Method Summary collapse

Methods inherited from Filter

#after?, #around?, #before?, #call, #initialize, #run, #type

Constructor Details

This class inherits a constructor from ActionController::Filters::ClassMethods::Filter

Instance Method Details

#filterObject

:nodoc:



429
430
431
# File 'lib/action_controller/filters.rb', line 429

def filter
  @filter.filter
end