Class: Test::Unit::AutoRunner
- Inherits:
-
Object
- Object
- Test::Unit::AutoRunner
- Defined in:
- lib/redgreen.rb
Instance Method Summary collapse
-
#initialize(standalone) ⇒ AutoRunner
constructor
A new instance of AutoRunner.
- #old_initialize ⇒ Object
Constructor Details
#initialize(standalone) ⇒ AutoRunner
Returns a new instance of AutoRunner.
35 36 37 38 39 40 |
# File 'lib/redgreen.rb', line 35 def initialize(standalone) old_initialize(standalone) @runner = proc do |r| Test::Unit::UI::Console::RedGreenTestRunner end end |
Instance Method Details
#old_initialize ⇒ Object
34 |
# File 'lib/redgreen.rb', line 34 alias :old_initialize :initialize |