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?, #before?, #call, #initialize

Constructor Details

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

Instance Method Details

#around?Boolean

Returns:

  • (Boolean)


424
425
426
# File 'lib/action_controller/filters.rb', line 424

def around?
  false
end

#filterObject

:nodoc:



420
421
422
# File 'lib/action_controller/filters.rb', line 420

def filter
  @filter.filter
end