Class: Test::Unit::Catch_IO

Inherits:
String
  • Object
show all
Defined in:
lib/more_unit_test/assert_stdout.rb

Overview

Class to catch the std output and stderr

Instance Method Summary collapse

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