RubyMoney/money — pull request #120 by pelle (2011-11-21 02:03:29+00:00)
Title: Allow creation of new currencies

This pull request allows you to create a new currency by adding an optional hash of parameters to the constructor.

This is specifically useful when creating applications for non national currencies such as bitcoin, in app virtual currencies as well as local community currencies.

There is also a fix to to_money on money objects. It was missing the currency parameter. I've made it intelligent so it exchanges it if a different currency is specified.