From: Loren Segal Date: 2011-01-10T04:53:35+09:00 Subject: [ruby-core:34275] Re: [Ruby 1.9-Feature#4254][Open] Allow method transplanting On 1/9/2011 8:17 AM, Jonas Pfenniger (zimbatm) wrote: > I agree it's not the cleanest, but it's not like I would be adding any > feature. rubyspec doesn't give me any addition error, expect the one > that explicitly tests for the exception. FWIW I've implemented something similar a while back as a gem called "force_bind". You call .force_bind on an UnboundMethod instead of bind. https://rubygems.org/gems/force_bind Although it would be great to see #bind (and define_method) support this out of the box, adding this behaviour through a gem isn't *so* bad.