From: "Matthew K. Williams" Date: 2011-06-18T03:52:44+09:00 Subject: Re: RFC - One word alias for require_relative On Sat, 18 Jun 2011, Chad Perrin wrote: > On Sat, Jun 18, 2011 at 03:24:48AM +0900, Gary Wright wrote: >> On Jun 17, 2011, at 2:21 PM, Chad Perrin wrote: >>> On Sat, Jun 18, 2011 at 03:17:50AM +0900, Gary Wright wrote: >>>> >>>> I can't believe I'm adding to this conversation... >>>> >>>> Ruby already has an idiom for naming two related methods so how about: >>>> >>>> require "a/b" # the usual >>>> require! "a/b" # require relative to __FILE__ >>> >>> I had no idea about "require!". Thanks for mentioning it. >> >> It doesn't exist, I was just suggesting it as a possibility... > > Damn. Okay, never mind. > > Of course, I'll just be happy with require_relative, anyway. It seems > quite descriptive of its functionality, and succinct enough for my > purposes. Exactly. While I'm an old unix hack, I really like the descriptiveness of this method. I know *exactly* what it's doing, without having to learn some new obscure word. Matt