Class: AppMap::Rails::SQLHandler::SQLReturn
- Inherits:
-
Event::MethodReturnIgnoreValue
- Object
- Struct
- Event::MethodEventStruct
- Event::MethodEvent
- Event::MethodReturnIgnoreValue
- AppMap::Rails::SQLHandler::SQLReturn
- Defined in:
- lib/appmap/rails/sql_handler.rb
Constant Summary
Constants inherited from Event::MethodEvent
Instance Attribute Summary
Attributes inherited from Event::MethodReturnIgnoreValue
Attributes inherited from Event::MethodEventStruct
Instance Method Summary collapse
-
#initialize(parent_id, elapsed) ⇒ SQLReturn
constructor
A new instance of SQLReturn.
Methods inherited from Event::MethodReturnIgnoreValue
Methods inherited from Event::MethodEvent
build_from_invocation, display_string
Constructor Details
#initialize(parent_id, elapsed) ⇒ SQLReturn
Returns a new instance of SQLReturn.
32 33 34 35 36 37 |
# File 'lib/appmap/rails/sql_handler.rb', line 32 def initialize(parent_id, elapsed) super AppMap::Event.next_id_counter, :return, Thread.current.object_id self.parent_id = parent_id self.elapsed = elapsed end |