module BloodContracts::Instrumentation::SessionRecording::Inheritance
Modification to inheritance for the session recording
Public Instance Methods
inherited(child)
click to toggle source
Register the inherited type and set the session klass same as parent
@param child [BC::Refined] class to enhance
@return [Nothing]
Calls superclass method
# File lib/blood_contracts/instrumentation/session_recording.rb, line 65 def inherited(child) child.session_klass = session_klass Instrumentation.register_type(child) super end