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