method

enumerate

Importance_1
v2.1.0 - Show latest stable - 0 notes - Class: ActionView::Helpers::JavaScriptCollectionProxy
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
Show source
Register or log in to add new notes.