A case deciding who gets to keep the ring when an engagement breaks down is being argued before the Massachusetts Supreme Judicial Court.