Class: ActionController::Filters::ClassMethods::AfterFilterProxy

Inherits:
FilterProxy show all
Defined in:
lib/action_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

#around?, #filter

Methods inherited from Filter

#around?, #before?, #initialize

Constructor Details

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

Instance Method Details

#after?Boolean

Returns:

  • (Boolean)


444
445
446
# File 'lib/action_controller/filters.rb', line 444

def after?
  true
end

#call(controller, &block) ⇒ Object



448
449
450
451
# File 'lib/action_controller/filters.rb', line 448

def call(controller, &block)
  yield
  @filter.call(controller)
end