Module

Enumerable

There's no documentation for this item.

Public Methods
group_by Returns a hash, which keys are evaluated result from the block, and values are arrays of elements in enum corresponding to the key.
include_any? Look for any of an array of things inside another array (or any Enumerable).
injecting Abstract the common pattern of injecting a hash into a block to accumulate and return the injected hash.
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.