Method: Packet::Core::ClassMethods#before_unbind

Defined in:
lib/packet/packet_core.rb

#before_unbind(p_method) ⇒ Object



30
31
32
33
# File 'lib/packet/packet_core.rb', line 30

def before_unbind p_method
  connection_callbacks[:before_unbind] ||= []
  connection_callbacks[:before_unbind] << p_method
end