RubyMoney/money — pull request #135 by semmons99 (2011-12-24 00:58:13+00:00)
Title: String Parsing...We need to talk.

Ok everyone I think it's time we finally address string parsing. It's become a rather large cluster f***. Right now I have two ideas, one simple but with potentially a lot of back lash, and one harder but most likely better received.

1. No more String parsing. Period. End of story. We remove all code for `#to_money` and stop Monkey Patching any classes.

2. We transform string parsing into a user extensible system. I'm not sure how this would work. It would somehow need to accept before/after hook and regexp's that allow for more complex parsing. Our base parsing would simple handle `/^\d+.{0,1}\d*$/`.

Thoughts?