Class: AppMap::Rails::SQLHandler::SQLReturn
- Inherits:
-
Trace::MethodReturnIgnoreValue
- Object
- Struct
- Trace::MethodEventStruct
- Trace::MethodEvent
- Trace::MethodReturnIgnoreValue
- AppMap::Rails::SQLHandler::SQLReturn
- Defined in:
- lib/appmap/rails/sql_handler.rb
Constant Summary
Constants inherited from Trace::MethodEvent
Trace::MethodEvent::COUNTER_LOCK, Trace::MethodEvent::LIMIT
Instance Attribute Summary
Attributes inherited from Trace::MethodReturnIgnoreValue
Attributes inherited from Trace::MethodEventStruct
#defined_class, #event, #id, #lineno, #method_id, #path, #static, #thread_id
Instance Method Summary collapse
-
#initialize(path, lineno, parent_id, elapsed) ⇒ SQLReturn
constructor
A new instance of SQLReturn.
Methods inherited from Trace::MethodReturnIgnoreValue
Methods inherited from Trace::MethodEvent
build_from_tracepoint, display_string, next_id, value_in_binding
Constructor Details
#initialize(path, lineno, parent_id, elapsed) ⇒ SQLReturn
Returns a new instance of SQLReturn.
30 31 32 33 34 35 |
# File 'lib/appmap/rails/sql_handler.rb', line 30 def initialize(path, lineno, parent_id, elapsed) super AppMap::Trace::MethodEvent.next_id, :return, SQLHandler, :call, path, lineno, false, Thread.current.object_id self.parent_id = parent_id self.elapsed = elapsed end |