Phrogz wrote:

>Christer Nilsson wrote:
>  
>
>>class SafeArray < DelegateClass(Array)
>>  def [](index)
>>    fetch index
>>  end
>>end
>>    
>>
>
>Or, even easier:
>
>class SafeArray < DelegateClass(Array)
>  alias_method :[], :fetch
>end
>  
>
Groan at the different argument order of the alias statement and 
#alias_method.