Class: Bullet::Registry::CallStack
- Defined in:
- lib/bullet/registry/call_stack.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- 
  
    
      #add(key)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    remembers found association backtrace. 
Methods inherited from Base
#[], #delete, #each, #include?, #initialize, #select
Constructor Details
This class inherits a constructor from Bullet::Registry::Base
Instance Method Details
#add(key) ⇒ Object
remembers found association backtrace
| 7 8 9 | # File 'lib/bullet/registry/call_stack.rb', line 7 def add(key) @registry[key] ||= Thread.current.backtrace end |