private Method

Partials.add_counter_to_local_assigns!(partial_name, local_assigns)

There's no documentation for this item.

Source Code

# File action_view/partials.rb, line 189
def add_counter_to_local_assigns!(partial_name, local_assigns)
  counter_name = partial_counter_name(partial_name)
  local_assigns[counter_name] = 1 unless local_assigns.has_key?(counter_name)
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.