Class: Armada::Observer
- Inherits:
-
ActiveModel::Observer
- Object
- ActiveModel::Observer
- Armada::Observer
- Defined in:
- lib/armada/observer.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Observer
constructor
A new instance of Observer.
Constructor Details
#initialize ⇒ Observer
Returns a new instance of Observer.
8 9 10 11 |
# File 'lib/armada/observer.rb', line 8 def initialize super observed_subclasses.each { |klass| add_observer!(klass) } end |