Categories: None [Edit]
in_enumerable
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
Total
Ranking: 122,553 of 187,950
Downloads: 5,331
Daily
Ranking: 131,109 of 187,922
Downloads: 3
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 13,060 | 169,617 | thoughtbot-shoulda |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | BMorearty |