method

add_observer

Importance_1
v3.2.1 - Show latest stable - 0 notes - Class: ActiveModel::Observing::ClassMethods
add_observer(observer) public

Add a new observer to the pool. The new observer needs to respond to ‘update’, otherwise it raises an ArgumentError exception.

Show source
Register or log in to add new notes.