From: Ilias Lazaridis Date: 2011-06-18T04:25:36+09:00 Subject: Re: RFC - One word alias for require_relative On 17 Ιούν, 21:17, 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__ This could become my new favourite. "!" is used as a convention, to clarify that a method "modifies the object" "!" could be used for stand-alone functions (e.g. the "flat" Kernel functions which do not operate strictly on an object) to clarify (by convention) "you should know what you do, possible risks" or simply "alternate implementation". And with an additional space, headers look clean, too: require! "lib/baselib" require "sinatra" Yes, this could be the "winner". . -- http://lazaridis.com