Posted By: Konstantin Haase
Date: 2009-03-23 15:54
Summary: Chainable on RubyForge
Project: chainable

I have pushed all versions of chainable to RubyForge, so you can install them by "gem install chainable". For more information, see http://github.com/rkh/chainable.

Chainable is an alternative to alias_method_chain, that uses inheritance, rather than aliasing. It does the following when "chaining" a method:

* copy the original method to a new model
* include the model
* overwrite the method

Thus you can use super and keep your method list clean, too! It even supports a (rather dangerous) auto chaining mode, so you do not have to explicitly chain a method, but chain a method whenever it would be overwritten instead.

Latest News
v13.5.0 Released !!
    id 774 - 2013-05-18 12:28
Runt v0.9.0 Released
    Matthew Lipper - 2013-05-17 00:11
kramdown 1.0.2 released
    Thomas Leitner - 2013-05-09 06:58
mime-types 1.23 Released
    Austin Ziegler - 2013-04-21 01:41
diff-lcs 1.2.4 Released
    Austin Ziegler - 2013-04-21 00:08

 

Forums | Admin

Discussion Forums: chainable-on-rubyforge

Start New Thread Start New Thread

 

Topic Topic Starter Replies Last Post