instance method
before_command
Ruby on Rails 7.2.3
Since v7.1.6Signature
before_command(*methods, &block)
No documentation comment.
Parameters
-
methodsrest -
blockblock
Source
# File actioncable/lib/action_cable/connection/callbacks.rb, line 43
def before_command(*methods, &block)
set_callback(:command, :before, *methods, &block)
end
Defined in actioncable/lib/action_cable/connection/callbacks.rb line 43
· View on GitHub
· Improve this page
· Find usages on GitHub