Sha256: 763cc2c36a9f828f46cf057bf12684bce6c9b289516e043d9e1c980ffe28daa7
Contents?: true
Size: 389 Bytes
Versions: 23
Compression:
Stored size: 389 Bytes
Contents
module Thin class Callbacks def self.after_connect_callbacks @after_connect_callbacks ||= [] end def self.after_connect(&block) after_connect_callbacks << block end def self.before_disconnect_callbacks @before_disconnect_callbacks ||= [] end def self.before_disconnect(&block) before_disconnect_callbacks << block end end end
Version data entries
23 entries across 23 versions & 2 rubygems