RubyMoney/monetize — pull request #11 by allolex (2014-04-18 14:05:22+00:00)
Title: Extract parts of long Monetize#extract_cents into methods

- Moved regular expression into constant
- Used regexes more idiomatically, e.g. \D instead of [^\d]
- .negative? tells you whether the number is negative
- .contains_hyphen? tells you whether the number contains a hyphen
- .strip_negative_symbols removes minus signs from numbers