From: Eric Hodel Date: 2005-12-21T04:29:54+09:00 Subject: Re: Array Documentation Issues On Dec 20, 2005, at 10:58 AM, Yukihiro Matsumoto wrote: > In message "Re: Array Documentation Issues" > on Wed, 21 Dec 2005 01:46:41 +0900, James Edward Gray II > writes: > > |$ ri -T Array.initialize_copy > |-------------------------------------------------- > Array#initialize_copy > | array.replace(other_array) -> array array.initialize_copy(other_array) -> array Is how it is usually documented when multiple methods are aliases. > |--------------------------------------------------------------------- > --- > | Replaces the contents of self with the contents of other_array, > | truncating or expanding if necessary. > | > | a = [ "a", "b", "c", "d", "e" ] > | a.replace([ "x", "y", "z" ]) #=> ["x", "y", "z"] > | a #=> ["x", "y", "z"] > | > |I'm not sure what that was *suppose* to say, but I'm betting (and > |hoping) it wasn't that. > > This is caused by RDoc. I'm not sure how we can handle. > > matz. -- Eric Hodel - drbrain@segment7.net - http://segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com