Rosetta Example: Delegates

Demonstrating the behavior in a shell:

Create a Delegator, which has no delegatee defined. Therefore delegator performs the action by itself, the default implementation.

Now, we set the delegatee; therefore, the delegatee will perform the action.