Class: Skywalking::Tracing::CarrierItem
- Inherits:
-
Object
- Object
- Skywalking::Tracing::CarrierItem
- Defined in:
- lib/skywalking/tracing/carrier_item.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(key: '', value: '') ⇒ CarrierItem
constructor
A new instance of CarrierItem.
Constructor Details
#initialize(key: '', value: '') ⇒ CarrierItem
Returns a new instance of CarrierItem.
21 22 23 24 |
# File 'lib/skywalking/tracing/carrier_item.rb', line 21 def initialize(key: '', value: '') @key = key @value = value end |
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key.
19 20 21 |
# File 'lib/skywalking/tracing/carrier_item.rb', line 19 def key @key end |
#value ⇒ Object
Returns the value of attribute value.
19 20 21 |
# File 'lib/skywalking/tracing/carrier_item.rb', line 19 def value @value end |