method

enumerate

rails latest stable - Class: ActionView::Helpers::JavaScriptCollectionProxy

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

enumerate(enumerable, options = {}, &block)
private

Options

* variable - name of the variable to set the result of the enumeration to
* method_args - array of the javascript enumeration method args that occur before the function
* yield_args - array of the javascript yield args
* return - true if the enumeration should return the last statement