aboutsummaryrefslogblamecommitdiffstats
path: root/actionpack/lib/action_view/helpers/benchmark_helper.rb
blob: 87fbf8f1a815312c052fdf3ade8a7f30c8730db5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13



                                      
                                   







                                          
require 'active_support/benchmarkable'

module ActionView
  module Helpers
    module BenchmarkHelper #:nodoc:
      include ActiveSupport::Benchmarkable

      def benchmark(*)
        capture { super }
      end
    end
  end
end