RubyGems Navigation menu

in_enumerable 1.0.0

extends the Object type with the tasty 'in?' method, which returns true if an object is included in a list or other enumerable value. So you can do this: 1.in? [1,2] # => true 3.in? [1,2] # => false

Gemfile:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  1. 1.0.0 - December 24, 2009 (6,5 KB)

dependencias de Development (1):

Propietarios:

Autores:

  • Brian Morearty

SHA 256 checksum:

87d1d21263019b936ee1e4da1ae4e349c2b63e23c9ee548d3cc427b510804f8a

Total de descargas 4.946

Para esta versión 4.946

Licencias:

N/A

Versión de Ruby requerida: Ninguno

Enlace: