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,197 of 197,051
Downloads: 1,539,194

Daily

Ranking: 11,982 of 197,010
Downloads: 75

Depended by

RankDownloadsName
6,700859,822schema_plus_pg_indexes
37,36336,026bloat_check
142,0804,529groundswell_schema_plus_columns

Depends on

RankDownloadsName
13,792,501,566bundler
81,427,168,861rake
291,024,975,886rspec
98505,449,469simplecov
150352,720,308rdoc
24,45165,793simplecov-gem-adapter

Owners

#GravatarHandle
1iconronenbarzel