Class Index [+]

Quicksearch

ActiveModel::Observing

Private Instance Methods

notify_observers(method) click to toggle source

Fires notifications to model’s observers

def save

  notify_observers(:before_save)
  ...
  notify_observers(:after_save)

end

     # File lib/active_model/observing.rb, line 113
113:       def notify_observers(method)
114:         self.class.notify_observers(method, self)
115:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.