Module: Atatus::Spies::TiltSpy::Ext Private

Defined in:
lib/atatus/spies/tilt.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#render(*args, &block) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



29
30
31
32
33
34
35
# File 'lib/atatus/spies/tilt.rb', line 29

def render(*args, &block)
  name = options[:__atatus_template_name] || 'Unknown template'

  Atatus.with_span name, TYPE do
    super(*args, &block)
  end
end