Sha256: 9f78b06be6de05883bbf9a86f5bc4d7f3400db52469bb64f330b08f788497b37

Contents?: true

Size: 542 Bytes

Versions: 64

Compression:

Stored size: 542 Bytes

Contents

# frozen_string_literal: true

require 'appmap/event'

module AppMap
  module Handler
    module Function
      class << self
        def handle_call(defined_class, hook_method, receiver, args)
          AppMap::Event::MethodCall.build_from_invocation(defined_class, hook_method, receiver, args)
        end

        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
      end
    end
  end
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
appmap-0.77.3 lib/appmap/handler/function.rb
appmap-0.77.2 lib/appmap/handler/function.rb
appmap-0.77.1 lib/appmap/handler/function.rb
appmap-0.77.0 lib/appmap/handler/function.rb
appmap-0.76.0 lib/appmap/handler/function.rb
appmap-0.75.0 lib/appmap/handler/function.rb
appmap-0.74.0 lib/appmap/handler/function.rb
appmap-0.73.0 lib/appmap/handler/function.rb
appmap-0.72.5 lib/appmap/handler/function.rb
appmap-0.72.4 lib/appmap/handler/function.rb
appmap-0.72.3 lib/appmap/handler/function.rb
appmap-0.72.2 lib/appmap/handler/function.rb
appmap-0.72.1 lib/appmap/handler/function.rb
appmap-0.72.0 lib/appmap/handler/function.rb
appmap-0.71.0 lib/appmap/handler/function.rb
appmap-0.70.2 lib/appmap/handler/function.rb
appmap-0.70.1 lib/appmap/handler/function.rb
appmap-0.70.0 lib/appmap/handler/function.rb
appmap-0.69.0 lib/appmap/handler/function.rb
appmap-0.68.2 lib/appmap/handler/function.rb