Categories: None [Edit]

its-it

https://rubygems.org/gems/its-it
https://github.com/ronen/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: 4,758 of 186,698
Downloads: 1,507,447

Daily

Ranking: 14,184 of 186,685
Downloads: 20

Depended by

RankDownloadsName
6,045838,012schema_plus_pg_indexes
34,99734,373bloat_check
141,3473,961groundswell_schema_plus_columns

Depends on

RankDownloadsName
12,900,560,356bundler
101,125,994,016rake
27908,151,619rspec
99412,766,531simplecov
190230,670,698rdoc
29,15544,048simplecov-gem-adapter

Owners

#GravatarHandle
1iconronenbarzel