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,918 of 189,628
Downloads: 1,516,615

Daily

Ranking: 10,832 of 189,601
Downloads: 61

Depended by

RankDownloadsName
6,265844,420schema_plus_pg_indexes
35,93035,179bloat_check
140,1134,298groundswell_schema_plus_columns

Depends on

RankDownloadsName
13,191,433,711bundler
91,237,600,515rake
29950,830,885rspec
99444,585,885simplecov
174274,373,815rdoc
28,31948,746simplecov-gem-adapter

Owners

#GravatarHandle
1iconronenbarzel