| Did you know ... | Search Documentation: |
| object<-send_method |
->attribute).<-send_method<-delegate
The tuple<-first contains the receiver,
which is either the object itself or the object the message will be
delegated to. The
tuple<-second contains the behaviour
object that implements the method.
Examples:
?- new(@p, point), get(@p, send_method, mirror, tuple(Object, Impl)). Object = @p/point Impl = @632241/send_method ?- new(@v, view), get(@v, send_method, append, tuple(Object, Impl)). Object = @833889/editor Impl = @749374/send_method
The second example indicates that, when a message object->append
is sent to
@v it will be delegated to the editor @833889.
See also object->has_get_method, object->has_send_method
and object<-all_send_methods.