Class: Test::Unit::Catch_IO
- Inherits:
-
String
- Object
- String
- Test::Unit::Catch_IO
- Defined in:
- lib/more_unit_test/assert_stdout.rb
Overview
Class to catch the std output and stderr
Instance Method Summary collapse
-
#write(cont) ⇒ Object
Receive content.
Instance Method Details
#write(cont) ⇒ Object
Receive content
26 27 28 |
# File 'lib/more_unit_test/assert_stdout.rb', line 26 def write( cont ) self << cont end |