Sha256: 882561394c578cef674cd411af45c2d01f07c313a5476bb76ea108365f3d5d6a

Contents?: true

Size: 235 Bytes

Versions: 2

Compression:

Stored size: 235 Bytes

Contents

# frozen_string_literal: true

module Bullet
  module Registry
    class CallStack < Base
      # remembers found association backtrace
      def add(key)
        @registry[key] ||= Thread.current.backtrace
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bullet-8.0.1 lib/bullet/registry/call_stack.rb
bullet-8.0.0 lib/bullet/registry/call_stack.rb