# File lib/rr/integrations.rb, line 39
  def self.module_shim_for_adapter(adapter)
    mod = Module.new
    (class << mod; self; end).class_eval do
      define_method(:included) do |base|
        # Note: This assumes that the thing that is including this module
        # is the same that the adapter detected and will hook into.
        adapter.load
      end
    end
    mod
  end