instance method
observers
Ruby on Rails 3.0.20
Since v2.2.3 Last seen in v3.2.22.5Signature
observers()
Gets the current observers.
Source
# File activemodel/lib/active_model/observing.rb, line 33
def observers
@observers ||= []
end
Defined in activemodel/lib/active_model/observing.rb line 33
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveModel::Observing::ClassMethods