silence_generator (RubiGen::GeneratorTestHelper)

    # File lib/rubigen/helpers/generator_test_helper.rb, line 29
        def silence_generator
          logger_original=RubiGen::Base.logger
          myout=StringIO.new
          RubiGen::Base.logger=RubiGen::SimpleLogger.new(myout)
          # TODO redirect $stdout to myout
          yield if block_given?
          RubiGen::Base.logger=logger_original
          # TODO fix $stdout again
          myout.string
        end