We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4194367 commit 0e341b1Copy full SHA for 0e341b1
lib/html/pipeline.rb
@@ -69,7 +69,8 @@ def self.parse(document_or_html)
69
# Public: String name for this Pipeline. Defaults to Class name.
70
attr_writer :instrumentation_name
71
def instrumentation_name
72
- @instrumentation_name || self.class.name
+ return @instrumentation_name if defined?(@instrumentation_name)
73
+ @instrumentation_name = self.class.name
74
end
75
76
class << self
0 commit comments