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,222 of 197,744
Downloads: 1,540,635

Daily

Ranking: 12,820 of 197,724
Downloads: 67

Depended by

RankDownloadsName
6,733860,705schema_plus_pg_indexes
37,51236,060bloat_check
142,2984,541groundswell_schema_plus_columns

Depends on

RankDownloadsName
13,863,547,421bundler
81,444,561,272rake
291,032,112,907rspec
97511,923,440simplecov
147362,648,494rdoc
24,45866,189simplecov-gem-adapter

Owners

#GravatarHandle
1iconronenbarzel