(a) A child born after the making of a will, either before or after the death of the testator, inclusive of a mother-testator, not provided for nor disinherited, but only pretermitted, in the will, and not provided for by settlement made by the testator in the testator’s lifetime, shall succeed to the same portion of the testator’s estate as if the testator had died intestate.
(b) Toward raising the portion of such child, the devisees and legatees and other heirs shall contribute out of the parts devised, or bequeathed to, or settled upon them by the testator, in the proportion borne by their respective devises, legacies, or settlements to the whole estate of the testator.