lib/opentelemetry/trace/status.rb in opentelemetry-api-1.0.2 vs lib/opentelemetry/trace/status.rb in opentelemetry-api-1.1.0
- old
+ new
@@ -8,10 +8,10 @@
module Trace
# Status represents the status of a finished {Span}. It is composed of a
# status code in conjunction with an optional descriptive message.
class Status
class << self
- private :new # rubocop:disable Style/AccessModifierDeclarations
+ private :new
# Returns a newly created {Status} with code == UNSET and an optional
# description.
#
# @param [String] description