You'd be better off using a paper bag. Moisture given off by the fruit will cause it to rot if it's kept in a plastic bag. Enough of the moisture will escape through the paper to keep that from happening. You can use the banana for speeding up the ripening of other bananas as well.