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,826 of 187,622
Downloads: 1,510,408

Daily

Ranking: 16,756 of 187,603
Downloads: 31

Depended by

RankDownloadsName
6,130839,834schema_plus_pg_indexes
35,50034,780bloat_check
140,2524,177groundswell_schema_plus_columns

Depends on

RankDownloadsName
13,012,753,026bundler
101,166,409,648rake
28925,351,231rspec
98425,428,441simplecov
182248,553,813rdoc
29,30145,121simplecov-gem-adapter

Owners

#GravatarHandle
1iconronenbarzel