123456789_123456789_123456789_123456789_123456789_

Module: ActionCable::Connection::Callbacks::ClassMethods

Relationships & Source Files
Defined in: actioncable/lib/action_cable/connection/callbacks.rb

Instance Method Summary

Instance Method Details

#after_command(*methods, &block)

[ GitHub ]

  
# File 'actioncable/lib/action_cable/connection/callbacks.rb', line 45

def after_command(*methods, &block)
  set_callback(:command, :after, *methods, &block)
end

#around_command(*methods, &block)

[ GitHub ]

  
# File 'actioncable/lib/action_cable/connection/callbacks.rb', line 49

def around_command(*methods, &block)
  set_callback(:command, :around, *methods, &block)
end

#before_command(*methods, &block)

[ GitHub ]

  
# File 'actioncable/lib/action_cable/connection/callbacks.rb', line 41

def before_command(*methods, &block)
  set_callback(:command, :before, *methods, &block)
end