Ruby's core Forwardable gets the job done(barely) and produces most unreadable code. Furthermore it is about twice as slow (1.9.2-p290) or thrice as slow (1.9.3-p0) as it needs to be. This is a nonintrusive (as is Forwardable) module that allows to delegate methods to instance variables, objects returned by instance_methods, other methods of the same receiver, the receiver itself, a chain of messages or an arbitrary object. Paramters can be provided in the forwarding definition (parially or totally=. It also defines some AOP support as after and before filters. Performance will be pushed to 2~3 times of Fowardable with the 0.2 branch of this gem

installgem install forwarder19 -v 0.2.0.rc3 --pre

Robert Dober

4,425 total downloads 300 for this version


gem 'forwarder19', '~> 0.2.0.rc3'
  1. 0.2.1 September 14, 2013 (12.5 KB)
  2. 0.2.0 January 10, 2013 (12 KB)
  3. 0.2.0rc5 April 28, 2012 (12 KB)
  4. 0.2.0rc4 April 21, 2012 (11.5 KB)
  5. 0.2.0.rc3 April 20, 2012 (12 KB)
Show all versions (7 total)
Runtime Dependencies
  1. lab419_core ~> 0.0.1