Module: Atatus::SpanHelpers::ClassMethods Private

Defined in:
lib/atatus/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, **kwargs) ⇒ 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.



25
26
27
# File 'lib/atatus/span_helpers.rb', line 25

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

#span_method(method, name = nil, type = nil, **kwargs) ⇒ 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.



29
30
31
# File 'lib/atatus/span_helpers.rb', line 29

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