< :the previous in number
^ :the list in numerical order
> :the next in number
P :the previous (in thread)
N :the next (in thread)
|<:the top of this thread
>|:the next thread
^ :the parent (reply-to)
_:the child (an article replying to this)
>:the elder article having the same parent
<:the youger article having the same parent
---:split window and show thread lists
| :split window (vertically) and show thread lists
~ :close the thread frame
.:the index
..:the index of indices
On Mon, 08 Mar 2004 08:35:34 +0900, Yukihiro Matsumoto wrote:
> In message "proposal: class<<obj to invoke extend_object"
> on 04/03/08, Simon Strandgaard <neoneye / adslhome.dk> writes:
>
> |'obj.extend' and 'class<<obj' are close cousins..
> |However there is a difference.. 'class<<obj' doesn't
> |invoke #extend_object, and #extended. To me it feels
> |inconsistent that there is no way to execute code on the
> |point when the extension occurs.
>
> 'obj.extend' add a module to the inheritance graph (per object base),
> whereas 'class <<obj' add methods and attributes to the existing
> singleton class. Virtually, singleton class always exists for each
> object, never added, never extended.
>
I don't get this.. (thanks+sorry matz).
I had the impression that they didn't differ much.
Is there anyone which can explain this to me?
Thanks in advance
--
Simon Strandgaard