method
inject
inject(variable, memo, &block)
public
Hide source
# File actionpack/lib/action_view/helpers/prototype_helper.rb, line 1239 def inject(variable, memo, &block) enumerate :inject, :variable => variable, :method_args => [memo], :yield_args => %w(memo value index), :return => true, &block end