Module

Enumerable

There's no documentation for this item.

Public Methods
group_by Collect an enumerable into sets, grouped by the result of a block. Useful, for example, for grouping records by date.
index_by Convert an enumerable to a hash. Examples:
sum Calculates a sum from the elements. Examples:
to_json Returns a JSON string representing the enumerable. Any options given will be passed on to its elements. For example:
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.