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,815 of 187,255
Downloads: 1,509,413

Daily

Ranking: 17,242 of 187,239
Downloads: 17

Depended by

RankDownloadsName
6,102839,164schema_plus_pg_indexes
35,39334,697bloat_check
140,2554,131groundswell_schema_plus_columns

Depends on

RankDownloadsName
12,973,645,220bundler
101,152,124,538rake
27919,498,517rspec
99421,256,244simplecov
185241,912,208rdoc
29,33544,696simplecov-gem-adapter

Owners

#GravatarHandle
1iconronenbarzel