Array.delete takes a block.
month_a = %w[ nil jan feb mar apr may jun jul aug sep oct nov dec ] month_a.delete("noon") {"noon wasn't found."}