Class: Jekyll::Minify::Instrumentation::NoopSpan

Inherits:
Object
  • Object
show all
Defined in:
lib/jekyll-minify/instrumentation.rb

Overview

No-op span that silently accepts all attribute and event calls.

Instance Method Summary collapse

Instance Method Details

#record_exceptionNoopSpan

No-op exception recorder. Accepts and ignores any arguments.

Returns:



280
281
282
# File 'lib/jekyll-minify/instrumentation.rb', line 280

def record_exception(*)
  self
end

#set_attributeNoopSpan

No-op attribute setter. Accepts and ignores any arguments.

Returns:



273
274
275
# File 'lib/jekyll-minify/instrumentation.rb', line 273

def set_attribute(*)
  self
end

#status=void

This method returns an undefined value.

No-op status setter. Accepts and ignores any arguments.



287
# File 'lib/jekyll-minify/instrumentation.rb', line 287

def status=(*); end