跳至内容 跳至搜索
方法
A
B

实例公共方法

after_command(*methods, &block)

# File actioncable/lib/action_cable/connection/callbacks.rb, line 47
def after_command(*methods, &block)
  set_callback(:command, :after, *methods, &block)
end

around_command(*methods, &block)

# File actioncable/lib/action_cable/connection/callbacks.rb, line 51
def around_command(*methods, &block)
  set_callback(:command, :around, *methods, &block)
end

before_command(*methods, &block)

# File actioncable/lib/action_cable/connection/callbacks.rb, line 43
def before_command(*methods, &block)
  set_callback(:command, :before, *methods, &block)
end