Module: Skylight::Probes::Tilt::Instrumentation Private
- Defined in:
- lib/skylight/probes/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
- #render(*args, &block) ⇒ Object private
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.
6 7 8 9 10 11 12 13 |
# File 'lib/skylight/probes/tilt.rb', line 6 def render(*args, &block) opts = { category: "view.render.template", title: @__sky_virtual_path || [:sky_virtual_path] || basename || "Unknown template name" } Skylight.instrument(opts) { super(*args, &block) } end |