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: 5,152 of 196,106
Downloads: 1,536,172

Daily

Ranking: 12,347 of 196,079
Downloads: 40

Depended by

RankDownloadsName
6,653857,376schema_plus_pg_indexes
37,10635,974bloat_check
141,3124,514groundswell_schema_plus_columns

Depends on

RankDownloadsName
13,666,535,620bundler
81,393,995,228rake
291,010,539,582rspec
98493,362,474simplecov
154336,079,615rdoc
25,06362,570simplecov-gem-adapter

Owners

#GravatarHandle
1iconronenbarzel