From: Daniel Berger Date: 2008-09-28T07:29:22+09:00 Subject: Re: Help, Ruby 1.8.6-p287 broke my "use" library and I don't know why On Sep 27, 3:14 pm, "David A. Black" wrote: > Hi Dan -- > > On Sun, 28 Sep 2008, Daniel Berger wrote: > > Hi everyone, > > > I need help! > > > I've got a library called "use" that let's you mixin methods from modules in > > a fine-grained fashion. Unfortunately, something broke it between Ruby > > 1.8.6-p111 and Ruby 1.8.6-p287. > > > It may have something to do with the way I autogenerate some methods in the > > windows-api library, as simple cases still work fine, but I'm not sure how or > > why. > > Do you have a non-Windows example where it does this? Nobu's example summarizes the problem: require 'use' module X XXX = 1 def xxx XXX end end class Foo use X end Foo.new.xxx Regards, Dan