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,945 of 190,317
Downloads: 1,518,757

Daily

Ranking: 10,143 of 190,280
Downloads: 128

Depended by

RankDownloadsName
6,291845,963schema_plus_pg_indexes
36,07835,249bloat_check
140,1094,322groundswell_schema_plus_columns

Depends on

RankDownloadsName
13,240,425,504bundler
81,255,248,311rake
29957,358,331rspec
99449,649,641simplecov
172281,306,788rdoc
28,05949,776simplecov-gem-adapter

Owners

#GravatarHandle
1iconronenbarzel