lib/opentelemetry/trace/trace_flags.rb in opentelemetry-api-1.0.2 vs lib/opentelemetry/trace/trace_flags.rb in opentelemetry-api-1.1.0
- old
+ new
@@ -9,10 +9,10 @@
# TraceFlags contain details about the trace. Unlike Tracestate values,
# TraceFlags are present in all traces. Currently, the only TraceFlag is a
# boolean {sampled?} {https://www.w3.org/TR/trace-context/#trace-flags flag}.
class TraceFlags
class << self
- private :new # rubocop:disable Style/AccessModifierDeclarations
+ private :new
# Returns a newly created {TraceFlags} with the specified flags.
#
# @param [Integer] flags 8-bit byte of bit flags
# @return [TraceFlags]