module Rails::MiddlewareTimer
Constants
- VERSION
Public Instance Methods
time!()
click to toggle source
# File lib/rails/middleware_timer.rb, line 9 def time! ::Rails.configuration.middleware.middlewares.each do |klass| klass = klass.name.constantize if klass.respond_to?(:prepend) klass.prepend(Rails::MiddlewareTimer::Timer) end end end