method
add_observer
add_observer(observer, func=:update)
public
Add observer as an observer on this object. observer will now receive notifications. The second optional argument specifies a method to notify updates, of which default value is update.