On 11 Ιούν, 20:35, Ilias Lazaridis <il... / lazaridis.com> wrote:
> This is a simple Request for Comments.
>
> Scenario:
>
> require_relative 'lib/alter'
> require 'alibrary'
>
> Some project manager complains about "require_relative", and asks you
> to find a one-word alias.
>
> Which name would you select and for what reasons?
>
> Requirements
> must:
> * one word
>
> optional:
> * ideally a 7 letter word

#existent load functionality
load    'alibrary.rb'
require 'alibrary'

locally 'lib/alter' # locally located file
include 'lib/alter' # the commonly known "include" ("collision" with
the "include" used for mixins)
uniload 'lib/alter' # universal load

#one more suggestion

request 'lib/alter' # like require, but uses the path relative to the
current file

.

--
http://lazaridis.com