protected Method

Sweeper.assigns(key)

Retrieve instance variables set in the controller.

Source Code

# File action_controller/caching/sweeping.rb, line 78
def assigns(key)
  controller.instance_variable_get("@#{key}")
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.