method

notify_observers

v1_9_3_392 - Show latest stable - Class: Observable
notify_observers(*arg)
public

Notify observers of a change in state if this object’s changed state is true.

This will invoke the method named in #add_observer, pasing *arg. The changed state is then set to false.

*arg

Any arguments to pass to the observers.