Categories: None [Edit]
its-it
This gem defines the Kernel method "it" that queue and defer method calls.
This extends the Symbol#to_proc idiom to support chaining multiple methods.
For example, items.collect(&it.to_s.capitalize). This also allows
conditionals in case statements, such as: case ... when it > 3 then [etc.].
The method is also aliased as "its", for methods that describe possessives
rather than actions, such as items.collect(&its.name.capitalize)
[This gem is an extension of Jay Philips' "methodphitamine" gem, updated
for ruby 1.9 and gemspec compatibility and adding the case statement functionality.]
Total
Ranking: 5,088 of 193,756
Downloads: 1,529,558
Daily
Ranking: 10,363 of 193,649
Downloads: 102
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 6,456 | 852,143 | schema_plus_pg_indexes |
| 36,761 | 35,625 | bloat_check |
| 140,813 | 4,427 | groundswell_schema_plus_columns |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | ronenbarzel |