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,780 of 186,961
Downloads: 1,508,458

Daily

Ranking: 14,174 of 186,954
Downloads: 66

Depended by

RankDownloadsName
6,075838,709schema_plus_pg_indexes
35,17834,627bloat_check
140,7004,054groundswell_schema_plus_columns

Depends on

RankDownloadsName
12,938,589,681bundler
101,140,169,777rake
27914,289,095rspec
99417,429,072simplecov
188236,866,116rdoc
29,25544,351simplecov-gem-adapter

Owners

#GravatarHandle
1iconronenbarzel