# \[ANN\] Money 3.0.5

**URL:** <https://rubytalk.org/t/ann-money-3-0-5/59232>\
**Category:** ruby-talk\
**Created:** [16 July 2010 13:18 UTC](https://rubytalk.org/t/ann-money-3-0-5/59232 "2010-07-16T13:18:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shane\_Emmons1](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@Shane\_Emmons1](https://rubytalk.org/u/Shane_Emmons1)\
**Post date:** [16 July 2010 13:18 UTC](https://rubytalk.org/t/ann-money-3-0-5/59232/1 "2010-07-16T13:18:45Z")

</div>

Money 3.0.5  
\* Added Money#abs  
\* Updated Currency#subunit\_to\_unit documentation (it's an integer not a  
string)  
\* Fixed issue when exchanging currencies with different :subunit\_to\_unit  
values  
\* Added ability to pass a block to VariableExchangeBank#new or  
#exchange, specifying a custom truncation method  
\* Added optional currency argument to Numeric#to\_money  
\* Added optional currency argument to String#to\_money  
\* Numeric#to\_money now respects :subunit\_to\_unit  
\* Use '¤' as the default currency symbol

## Attention ##

Starting in v3.1.0 we will be making two changes to the exchange  
process. First  
a new `Bank::Base` class will be available. This will allow users to  
more  
easily create custom `Bank` classes. Secondly the default `#exchange`  
method  
will be depreciated and a new `#exchange_with` method will be used.  
Currently  
`#exchange` passes the `cents` attribute. `#exchange_with` will pass the  
actual `Money` object instead.

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
