private Method

GeneratorMethods.loop_on_multiple_args(method, ids)

There's no documentation for this item.

Source Code

# File action_view/helpers/prototype_helper.rb, line 936
def loop_on_multiple_args(method, ids)
  record(ids.size>1 ? 
    "#{javascript_object_for(ids)}.each(#{method})" : 
    "#{method}(#{ids.first.to_json})")
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.