RubyGems Navigation menu

its-it 1.0.1

This gem defines the Kernel method "it", which extends the Symbol#to_proc idiom to support chaining multiple methods. For example, items.collect(&it.to_s.capitalize). 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 clone of Jay Philips' "methodphitamine" gem, updated for ruby 1.9 and gemspec compatibility.]

Versions:

  1. 1.1.1 - April 26, 2011 (8.5 KB)
  2. 1.1.0 - April 26, 2011 (8.5 KB)
  3. 1.0.1 - April 23, 2011 (7.5 KB)
  4. 1.0.0 - April 23, 2011 (8.5 KB)

Runtime Dependencies:

Authors:

  • Ronen Barzel

Owners:

D969a347edb3054c711946c0ed07ce2f

Total downloads 10,313

For this version 1,162

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'its-it', '~> 1.0.1' = Copy to clipboard Copied!

install:
gem install its-it -v 1.0.1 = Copy to clipboard Copied!

Links: