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,026 of 192,692
Downloads: 1,526,535

Daily

Ranking: 8,385 of 192,666
Downloads: 60

Depended by

RankDownloadsName
6,377850,590schema_plus_pg_indexes
36,56635,470bloat_check
140,5334,395groundswell_schema_plus_columns

Depends on

RankDownloadsName
13,389,621,074bundler
81,311,002,349rake
29976,634,844rspec
99464,953,038simplecov
165300,498,183rdoc
26,50755,595simplecov-gem-adapter

Owners

#GravatarHandle
1iconronenbarzel