Module: BloodContracts::Instrumentation::SessionRecording::Inheritance
- Defined in:
- lib/blood_contracts/instrumentation/session_recording.rb
Overview
Modification to inheritance for the session recording
Instance Method Summary collapse
-
#inherited(child) ⇒ Nothing
Register the inherited type and set the session klass same as parent.
Instance Method Details
#inherited(child) ⇒ Nothing
Register the inherited type and set the session klass same as parent
65 66 67 68 69 |
# File 'lib/blood_contracts/instrumentation/session_recording.rb', line 65 def inherited(child) child.session_klass = session_klass Instrumentation.register_type(child) super end |