Module: AppMap::Handler::Function
- Defined in:
- lib/appmap/handler/function.rb
Class Method Summary collapse
- .handle_call(defined_class, hook_method, receiver, args) ⇒ Object
- .handle_return(call_event_id, elapsed, return_value, exception) ⇒ Object
Class Method Details
.handle_call(defined_class, hook_method, receiver, args) ⇒ Object
9 10 11 |
# File 'lib/appmap/handler/function.rb', line 9 def handle_call(defined_class, hook_method, receiver, args) AppMap::Event::MethodCall.build_from_invocation(defined_class, hook_method, receiver, args) end |
.handle_return(call_event_id, elapsed, return_value, exception) ⇒ Object
13 14 15 |
# File 'lib/appmap/handler/function.rb', line 13 def handle_return(call_event_id, elapsed, return_value, exception) AppMap::Event::MethodReturn.build_from_invocation(call_event_id, return_value, exception, elapsed: elapsed) end |