Categories: None [Edit]

nakajima-rebound

https://rubygems.org/gems/nakajima-rebound
https://github.com/nakajima/rebound
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.

Total

Ranking: 148,240 of 180,554
Downloads: 3,305

Daily

Ranking: 93,573 of 180,543
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
1,52015,597,422ruby2ruby

Owners

#GravatarHandle