From: Yukihiro Matsumoto Date: 2005-08-03T08:08:08+09:00 Subject: Re: [RCR] array or with non-array Hi, In message "Re: [RCR] array or with non-array" on Wed, 3 Aug 2005 07:34:27 +0900, Eric Mahurin writes: |1) methods have multiple functionalities based on the types of |the arguments (usually exact class not just respond_to?). Usually using duck types, for example "to_str" for string-like objects. It it's not, I consider it a bug. |2) even where a method only has one functionality (or the |multiple functionalites are determined by means other than arg |type/capabilities - flags, number of args, etc), many/most |built-in methods can't take args that have the same |capabilities as what is excepted - they only take a certain |type or maybe one derived from it. Example, please? matz.