public Method

JavaScriptCollectionProxy.in_groups_of(variable, number, fill_with = nil)

There's no documentation for this item.

Source Code

# File action_view/helpers/prototype_helper.rb, line 1186
def in_groups_of(variable, number, fill_with = nil)
  arguments = [number]
  arguments << fill_with unless fill_with.nil?
  add_variable_assignment!(variable)
  append_enumerable_function!("inGroupsOf(#{arguments_for_call arguments});")
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.