RubyGems Navigation menu

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.

Gemfile
          gem 'callwith', '~> 0.0.2'
  
  
  
  
  
  
  

install
          gem install callwith
  
  
  
  
  
  
  

Authors:

  • Paul Brannan

Owners:

Total downloads 2,334

For this version 1,224

Required Ruby Version: None

Links:

Versions:

  1. 0.0.2 - June 19, 2012 (5.5 KB)
  2. 0.0.1 - June 19, 2012 (5.5 KB)