public Method

JavaScriptCollectionProxy.inject(variable, memo, &block)

There's no documentation for this item.

Source Code

# File action_view/helpers/prototype_helper.rb, line 1193
def inject(variable, memo, &block)
  enumerate :inject, :variable => variable, :method_args => [memo], :yield_args => %w(memo value index), :return => true, &block
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.