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: 121,602 of 186,883
Downloads: 5,213
Daily
Ranking: 127,649 of 186,872
Downloads: 2
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,536 | 152,669 | thoughtbot-shoulda |
Owners
# | Gravatar | Handle |
---|---|---|
1 | BMorearty |