private Method

Sweeper.callback(timing)

There's no documentation for this item.

Source Code

# File action_controller/caching/sweeping.rb, line 83
def callback(timing)
  controller_callback_method_name = "#{timing}_#{controller.controller_name.underscore}"
  action_callback_method_name     = "#{controller_callback_method_name}_#{controller.action_name}"

  send!(controller_callback_method_name) if respond_to?(controller_callback_method_name, true)
  send!(action_callback_method_name)     if respond_to?(action_callback_method_name, true)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.