Jason Williams
10/26/2003 12:41:00 PM
In article <pan.2003.10.26.12.39.26.895888@sneakemail.com>, Simon Strandgaard
wrote:
> On Sun, 26 Oct 2003 12:20:10 +0000, Jason Williams wrote:
>
>> In article <pan.2003.10.26.12.18.37.847429@sneakemail.com>, Simon
>> Strandgaard wrote:
>>> Q2: Is it possible to make an alias for a module, so that I for instance
>>> only have to type X::Test when I refer to LongModuleName1::Test ?
>>
>> This bit's easy enough - "X = LongModuleName1" should work fine, I
>> think.
>
> Sorry.. that doesn't work
Oh, peculiar. I tried this code, and it worked okay -
module LongModuleName
class Wibble ; end
end
X = LongModuleName
puts X::Wibble