I don't know if it was "years of discernment" for me; I went from atheism to Catholicism with a stop along the way as an agnostic. I do know that it was a combination of a recognition of the simplicity of faith and the understanding that one need not leave one's intellect at the Church door in order to believe which lead me to the Church of Rome. Dispite its earthly errors, it still is the first, best and greatest house of our Father.
As for the classes; well . . . there was little about Christian or Catholic doctrine which was unknown to me as I had studied both in order to be clever in my disdain. Little did I know the sneaky irony of the Father as I was lead to Him while thinking I was going in the other direction. For the one who set heaven and earth spinning has little trouble with outwitting a dullard like me.
Thank goodness He did it in a wonderful way.