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,251 of 198,430
Downloads: 1,542,015

Daily

Ranking: 15,942 of 198,401
Downloads: 35

Depended by

RankDownloadsName
6,759861,535schema_plus_pg_indexes
37,66036,118bloat_check
142,5344,559groundswell_schema_plus_columns

Depends on

RankDownloadsName
13,939,528,074bundler
81,462,600,952rake
291,040,144,401rspec
97518,966,733simplecov
142373,659,467rdoc
24,38466,975simplecov-gem-adapter

Owners

#GravatarHandle
1iconronenbarzel