Module: RailsPerformance::Extensions::View

Defined in:
lib/rails_performance/extensions/trace.rb

Instance Method Summary collapse

Instance Method Details

#info(&block) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/rails_performance/extensions/trace.rb', line 5

def info(&block)
  CurrentRequest.current.trace({
    group: :view,
    message: block.call
  })
  super(&block)
end