class method
self.unsubscribe
Ruby on Rails edge
Since v3.0.20Signature
self.unsubscribe(subscriber_or_name)
No documentation comment.
Parameters
-
subscriber_or_namereq
Source
# File activesupport/lib/active_support/notifications.rb, line 339
def unsubscribe(subscriber_or_name)
subscriber = notifier.unsubscribe(subscriber_or_name)
record_subscriptions
subscriber
end
Defined in activesupport/lib/active_support/notifications.rb line 339
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Notifications