Class: ActiveSupport::Notifications::Instrumenter::LegacyHandle::Wrapper
- Defined in:
- activesupport/lib/active_support/notifications/instrumenter.rb
Overview
:nodoc:
Instance Method Summary collapse
- #build_handle(name, id, payload) ⇒ Object
- 
  
    
      #initialize(notifier)  ⇒ Wrapper 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Wrapper. 
Constructor Details
#initialize(notifier) ⇒ Wrapper
Returns a new instance of Wrapper.
| 23 24 25 | # File 'activesupport/lib/active_support/notifications/instrumenter.rb', line 23 def initialize(notifier) @notifier = notifier end | 
Instance Method Details
#build_handle(name, id, payload) ⇒ Object
| 27 28 29 | # File 'activesupport/lib/active_support/notifications/instrumenter.rb', line 27 def build_handle(name, id, payload) LegacyHandle.new(@notifier, name, id, payload) end |