RubyGems Navigation menu

rebound 0.0.2

By default, instances of UnboundMethod can only be bound to objects that are a kind_of? the method's original class. Pretty lame. rebound allows unbound methods (instances of UnboundMethod class) to be bound to objects of any class. It uses the alias_method_chain pattern to accomplish this, meaning you also get a bind_without_indifference method that retains the original behavior.

Versions:

  1. 0.0.2 - July 20, 2008 (6.5 KB)

Runtime Dependencies:

Authors:

  • Pat Nakajima

Owners:

3399cbfb9e5fec93c324789b29309911

Total downloads 1,389

For this version 1,388

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'rebound', '~> 0.0.2' = Copy to clipboard Copied!

install:
gem install rebound = Copy to clipboard Copied!

Links: