class StackifyRubyAPM::Spies::Registration

@api private

Attributes

const_name[R]

rubocop:enable Metrics/ParameterLists

custom_instrumented[R]

rubocop:enable Metrics/ParameterLists

custom_method[R]

rubocop:enable Metrics/ParameterLists

require_paths[R]

rubocop:enable Metrics/ParameterLists

tracked_func[R]

rubocop:enable Metrics/ParameterLists

tracked_function_name[R]

rubocop:enable Metrics/ParameterLists

Public Class Methods

new(const_name, require_paths, spy, custom_instrumented = false, custom_method = '', tracked_func = false, tracked_function_name = '') click to toggle source

rubocop:disable Metrics/ParameterLists

# File lib/stackify_apm/spies.rb, line 17
def initialize(const_name, require_paths, spy, custom_instrumented = false, custom_method = '', tracked_func = false, tracked_function_name = '')
  @const_name = const_name
  @require_paths = Array(require_paths)
  @spy = spy
  @custom_instrumented = custom_instrumented
  @custom_method = custom_method
  @tracked_func = tracked_func
  @tracked_function_name = tracked_function_name
end