From: Jeff Mitchell Date: 2004-06-09T01:11:36+09:00 Subject: Re: Expressing intent in method calling... --- Dave Thomas wrote: > > class Person > > attr_accessor :name > > end > > > > def greet(person) > > puts "Hello there #{person.name}" > > end > > Isn't this effectively "to_name" or "as_name"? Whether it's name or to_name, he is seeking a way to differentiate person names and Nonlinear Altitude Modulation Expositors. To use an example from your book, he wants to distinguish between Action#sin and Trig#sin. He can "let it ride" and see what happens by just calling #sin, but I think the motivation behind these threads is to provide support for methods/interfaces which claim some conformant behavior. __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/