>> >> > It would be interesting to see how textmate does this, cause I
>> >> can't
>> >> > think of a way to determine whether foo.method_name is an
>> >> > method or a class method for example.
>> >> def foo.method_name... is always a singleton class method, isn't
>> >> it?
>> > I am afraid it might be a class method
>> A class method is a singleton method on a class:
> lucky escape
Not at all. That's why I said "singleton class" in the first place.
Sorry explanation below...
Hey man, all this singleton class stuff is just finally starting to
sink into my brain, don't set me back on the path to enlightenment!
ok, ok, I 'll try to learn
James Edward Gray II
Hmm I was just kidding, thaught you were etc.
@flags[:serious] = true
I think I read you know.
Do you mean when defining
it does not matter if Foo is a class or anyting else, the "singleton method"
is defined on behalf of the "Object"?
As it is Object#methods and not Class#methods I was calling in my funny code
I was not aware of that.
On 8/28/06, James Edward Gray II <email@example.com> wrote:
On Aug 28, 2006, at 12:26 PM, Robert Dober wrote:
> On 8/28/06, James Edward Gray II <firstname.lastname@example.org> wrote:
>> On Aug 28, 2006, at 11:47 AM, Robert Dober wrote:
>> > On 8/28/06, James Edward Gray II <email@example.com> wrote:
>> >> On Aug 28, 2006, at 10:42 AM, Robert Retzbach wrote:
Deux choses sont infinies : l'univers et la bêtise humaine ; en ce qui
concerne l'univers, je n'en ai pas acquis la certitude absolue.
- Albert Einstein