instance method before_unsubscribe

Ruby on Rails 5.0.7.2

Since v5.0.7.2 Last seen in v5.1.7

Available in: v5.0.7.2 v5.1.7

Signature

before_unsubscribe(*methods, &block)

No documentation comment.

Parameters

methods rest
block block
Source
# File actioncable/lib/action_cable/channel/callbacks.rb, line 24
        def before_unsubscribe(*methods, &block)
          set_callback(:unsubscribe, :before, *methods, &block)
        end

Defined in actioncable/lib/action_cable/channel/callbacks.rb line 24 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionCable::Channel::Callbacks

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close