It was an analogy with the way vegetables are forced to ripen in this condition.
The sentence uses an analogy to describe a situation where something is influenced by external factors, similar to how vegetables are affected by their environment during ripening.