RubyGems Navigation menu

nakajima-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.

Gemfile:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

  1. 0.0.2 - August 10, 2014 (6,5 KB)

Runtime Abhängigkeiten (1):

ruby2ruby >= 1.1.9

Autoren:

  • Pat Nakajima

SHA 256-Prüfsumme:

02abde38275a9606a506fac1c278709087994a76def82a664c8986dc714172b7

Downloads insgesamt 3.301

Für diese Version 3.301

Lizenzen:

k.A.

Erforderliche Ruby-Version: >= 0

Links: