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:
=
安装:
=
版本列表:
- 1.0.0 December 24, 2009 (6.5 KB)
Development 依赖 (1):
thoughtbot-shoulda
>= 0