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,863 of 188,299
Downloads: 1,512,893

Daily

Ranking: 14,061 of 188,294
Downloads: 10

Depended by

RankDownloadsName
6,176841,689schema_plus_pg_indexes
35,66534,997bloat_check
140,0384,248groundswell_schema_plus_columns

Depends on

RankDownloadsName
13,083,955,929bundler
101,190,215,327rake
29936,000,803rspec
99433,034,919simplecov
179258,701,988rdoc
29,39745,478simplecov-gem-adapter

Owners

#GravatarHandle
1iconronenbarzel