> event := anAnnouncementClass isBehavior
>                                ifTrue: [ anAnnouncementClass new ]
>                                ifFalse: [  anAnnouncementClass ].

See #asAnnouncement, that does the same as the above code.

Lukas

-- 
Lukas Renggli
www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to