# File test/bin/test_mail.rb, line 31 def setup @obj = SendMailApp.new # 出力メソッドのデフォルトの出力先を置き換え @string_io = StringIO.new $stdout = @string_io end