module Cequel::Instrumentation

Generic module which enables injection of ActiveSupport notification functionality into including classes

Protected Class Methods

included(a_module) click to toggle source

Module Methods

# File lib/cequel/instrumentation.rb, line 62
def self.included(a_module)
  a_module.extend ModuleMethods
end

Protected Instance Methods

instrument(name, data, &blk) click to toggle source
# File lib/cequel/instrumentation.rb, line 56
def instrument(name, data, &blk)
  ActiveSupport::Notifications.instrument(name, data, &blk)
end