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,971 of 191,455
Downloads: 1,520,838

Daily

Ranking: 8,800 of 191,429
Downloads: 145

Depended by

RankDownloadsName
6,314847,325schema_plus_pg_indexes
36,18835,314bloat_check
140,1814,342groundswell_schema_plus_columns

Depends on

RankDownloadsName
13,290,634,251bundler
81,273,120,523rake
29964,231,479rspec
99454,797,191simplecov
168287,988,886rdoc
27,22752,271simplecov-gem-adapter

Owners

#GravatarHandle
1iconronenbarzel