Methods

Class Index [+]

Quicksearch

ActiveSupport::Testing::SetupAndTeardown::ForMiniTest

Public Instance Methods

run(runner) click to toggle source
    # File lib/active_support/testing/setup_and_teardown.rb, line 31
31:         def run(runner)
32:           result = '.'
33:           begin
34:             _run_setup_callbacks do
35:               result = super
36:             end
37:           rescue Exception => e
38:             result = runner.puke(self.class, method_name, e)
39:           ensure
40:             begin
41:               _run_teardown_callbacks
42:             rescue Exception => e
43:               result = runner.puke(self.class, method_name, e)
44:             end
45:           end
46:           result
47:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.