ripeness doctrine — Legal Definition, Examples & Cases