instance method load_ruby_prof

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.2.3

Signature

load_ruby_prof()

No documentation comment.

Source
# File actionpack/lib/action_controller/request_profiler.rb, line 145
      def load_ruby_prof
        begin
          gem 'ruby-prof', '>= 0.6.1'
          require 'ruby-prof'
          if mode = options[:measure]
            RubyProf.measure_mode = RubyProf.const_get(mode.upcase)
          end
        rescue LoadError
          abort '`gem install ruby-prof` to use the profiler'
        end
      end

Defined in actionpack/lib/action_controller/request_profiler.rb line 145 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::RequestProfiler

Type at least 2 characters to search.

↑↓ navigate · open · esc close