(a) Property a testator gave in the testator’s lifetime to a person is treated as a satisfaction of a devise in whole or in part, only if (i) the will provides for deduction of the gift, (ii) the testator declared in a contemporaneous writing that the gift is in satisfaction of the devise or that its value is to be deducted from the value of the devise, or (iii) the devisee acknowledged in writing that the gift is in satisfaction of the devise or that its value is to be deducted from the value of the devise.

(b) For purposes of partial satisfaction, property given during lifetime shall be valued as expressed in the will or in the contemporaneous writing; if it is not so valued, such property shall be valued as of the time the devisee came into possession or enjoyment of the property or at the testator’s death, whichever occurs first.

(c) If the devisee fails to survive the testator, the gift is treated as a full or partial satisfaction of the devise, as appropriate, in applying sections 2-603 and 2-604, unless the testator’s contemporaneous writing provides otherwise.