RubyGems.org

callwith

0.0.2

Object#callwith is like instance_eval, but can still delegate back to the original object if a method is not found. Also unlike instance_eval, all instance variables accessed within the block reference the original self object.

installgem install callwith
Authors

Paul Brannan

1,885 total downloads 984 for this version
Owners

6d6a51c1f1b3260e50913b7ae848183d

Gemfile
gem 'callwith', '~> 0.0.2'
Versions
  1. 0.0.2 June 19, 2012 (5.5 KB)
  2. 0.0.1 June 19, 2012 (5.5 KB)