Flowdock
method

define_run_method

Importance_0
v2.0.3 - Show latest stable - 0 notes - Class: ActionController::RequestProfiler::Sandbox
define_run_method(script_path) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/request_profiler.rb, line 42
        def define_run_method(script_path)
          script = File.read(script_path)
          source = "def run\n#{script}\nreset!\nend"
          instance_eval source, script_path, 1
        end
Register or log in to add new notes.