Class: AppMap::Handler::MarshalLoadHandler

Inherits:
FunctionHandler show all
Defined in:
lib/appmap/handler/marshal_load_handler.rb

Constant Summary collapse

PARAMETERS =
[
  [ :req, :source ],
  [ :rest ],
]

Constants inherited from AppMap::Hook::Method

AppMap::Hook::Method::HOOK_DISABLE_KEY

Constants included from AppMap::Hook::RecordAround

AppMap::Hook::RecordAround::APPMAP_OUTPUT_DIR

Instance Attribute Summary

Attributes inherited from AppMap::Hook::Method

#arity, #hook_class, #hook_method, #hook_package, #parameters, #record_around

Instance Method Summary collapse

Methods inherited from FunctionHandler

#handle_return

Methods inherited from AppMap::Hook::Method

#activate, #call, #initialize

Methods included from AppMap::Hook::RecordAround

#record_around?, #record_around_after, #record_around_before

Constructor Details

This class inherits a constructor from AppMap::Hook::Method

Instance Method Details

#handle_call(receiver, args) ⇒ Object



13
14
15
# File 'lib/appmap/handler/marshal_load_handler.rb', line 13

def handle_call(receiver, args)
  AppMap::Event::MethodCall.build_from_invocation(defined_class, hook_method, receiver, args, parameters: PARAMETERS)
end