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,428 of 182,915
Downloads: 1,482,309

Daily

Ranking: 11,598 of 182,900
Downloads: 61

Depended by

RankDownloadsName
5,661831,158schema_plus_pg_indexes
33,80933,621bloat_check
141,2003,736groundswell_schema_plus_columns

Depends on

RankDownloadsName
12,379,033,295bundler
10945,559,759rake
25813,851,472rspec
99345,185,160simplecov
211165,867,545rdoc
28,25842,712simplecov-gem-adapter

Owners

#GravatarHandle
1iconronenbarzel