From: Robert Dober Date: 2006-09-28T06:26:28+09:00 Subject: Re: How to copy a method from one class to another ------=_Part_40047_19240273.1159392385256 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 9/27/06, gwtmp01@mac.com wrote: > > > > > Another example might be the array of bytes that is associated with > an instance > of String. Strings are first class objects but the data associated > with a string > is not. ty Gary you make my point, when we talk about strings, methods objects we talk about the interfaces Ruby gives us to them, everything else is out of context, implementation if you want. IOW there is no string or method in Ruby, there is only String, Method, UnboundMethod etc, etc. we use the words string method to explain concepts to human beings, Ruby is not a human being (yet ;). At least that is the way I think about these things. I'm sure if I > was up to > speed on ruby internals it would be quite easy to point out the > differences between > method definitions and instances of Method and blocks and instances > of Procs. Which would be interesting of course but does not at all conflict with a statement made on the level of the services the language is giving us. It does not matter how they are implemented as long as the implementation is correct corresponding to the defintion of the language, and the definition of first class seems to be satisfied by the implementation of Method. Gary Wright > > > > > Robert ------=_Part_40047_19240273.1159392385256--