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,993 of 192,104
Downloads: 1,524,734

Daily

Ranking: 13,408 of 192,085
Downloads: 27

Depended by

RankDownloadsName
6,343849,435schema_plus_pg_indexes
36,45435,380bloat_check
140,5144,363groundswell_schema_plus_columns

Depends on

RankDownloadsName
13,340,208,428bundler
81,291,638,605rake
29970,683,748rspec
99459,987,123simplecov
167294,404,660rdoc
26,90553,977simplecov-gem-adapter

Owners

#GravatarHandle
1iconronenbarzel