lib/html/pipeline.rb in html-pipeline-2.5.0 vs lib/html/pipeline.rb in html-pipeline-2.6.0

- old
+ new

@@ -67,10 +67,11 @@ attr_accessor :instrumentation_service # Public: String name for this Pipeline. Defaults to Class name. attr_writer :instrumentation_name def instrumentation_name - @instrumentation_name || self.class.name + return @instrumentation_name if defined?(@instrumentation_name) + @instrumentation_name = self.class.name end class << self # Public: Default instrumentation service for new pipeline objects. attr_accessor :default_instrumentation_service