class Opbeat::Injections::Tilt::Injector
Constants
- KIND
Public Instance Methods
install()
click to toggle source
# File lib/opbeat/injections/sinatra.rb, line 38 def install ::Tilt::Template.class_eval do alias render_without_opb render def render(*args, &block) sig = options[:__opbeat_template_sig] || 'Unknown template'.freeze Opbeat.trace sig, KIND do render_without_opb(*args, &block) end end end end
render(*args, &block)
click to toggle source
# File lib/opbeat/injections/sinatra.rb, line 42 def render(*args, &block) sig = options[:__opbeat_template_sig] || 'Unknown template'.freeze Opbeat.trace sig, KIND do render_without_opb(*args, &block) end end