Module: Datadog::Tracing::Contrib::Registerable::InstanceMethods

Defined in:
lib/datadog/tracing/contrib/registerable.rb

Overview

Instance methods for registerable behavior

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



40
41
42
# File 'lib/datadog/tracing/contrib/registerable.rb', line 40

def name
  @name
end

Instance Method Details

#initialize(name, **options) ⇒ Object



43
44
45
# File 'lib/datadog/tracing/contrib/registerable.rb', line 43

def initialize(name, **options)
  @name = name
end