Module: ElasticAPM::SpanHelpers::ClassMethods Private

Defined in:
lib/elastic_apm/span_helpers.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#span_class_method(method, name = nil, type = nil) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



8
9
10
# File 'lib/elastic_apm/span_helpers.rb', line 8

def span_class_method(method, name = nil, type = nil)
  __span_method_on(singleton_class, method, name, type)
end

#span_method(method, name = nil, type = nil) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



12
13
14
# File 'lib/elastic_apm/span_helpers.rb', line 12

def span_method(method, name = nil, type = nil)
  __span_method_on(self, method, name, type)
end