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: 5,285 of 199,228
Downloads: 1,543,592

Daily

Ranking: 14,527 of 199,184
Downloads: 76

Depended by

RankDownloadsName
6,784862,636schema_plus_pg_indexes
37,81036,236bloat_check
142,6744,595groundswell_schema_plus_columns

Depends on

RankDownloadsName
14,015,435,206bundler
71,480,270,976rake
291,048,421,257rspec
97526,029,737simplecov
142384,735,258rdoc
24,33567,799simplecov-gem-adapter

Owners

#GravatarHandle
1iconronenbarzel