From: Caleb Clausen Date: 2010-06-23T07:45:22+09:00 Subject: Re: [ANN] ruby bounties update On 6/21/10, Roger Pack wrote: > * __DIR__ for 1.9.3 > $50 I wrote a __DIR__ macro as one of the examples in RubyMacros. Idunno if that's what you really have in mind. See http://github.com/coatl/rubymacros/blob/master/example/__dir__.rb It expands __DIR__ to File.dirname(__FILE__). Other drawbacks: * it requires RubyMacros, with all the slowness that come with that * RubyMacros isn't compatible with all the new 1.9 constructions (tho some will work) There's also the method implementation which uses caller (as you know, since you were one of the people who came up with it). Are these implementations not to your taste? If not, why so? I might be able to knock down some other of your bounties as well.