instance method load_ruby_prof

Ruby on Rails 2.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.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close