[ANN] Money 3.0.5

Discussion in 'Ruby' started by Shane Emmons, Jul 16, 2010.

  1. Shane Emmons

    Shane Emmons Guest

    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/.
    Shane Emmons, Jul 16, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Shane Emmons

    [ANN] Money 2.2.0

    Shane Emmons, Feb 18, 2010, in forum: Ruby
    Replies:
    0
    Views:
    68
    Shane Emmons
    Feb 18, 2010
  2. Shane Emmons

    [ANN] Money 2.3.0

    Shane Emmons, Apr 16, 2010, in forum: Ruby
    Replies:
    1
    Views:
    113
    Orel Stringa
    Apr 16, 2010
  3. Shane Emmons

    [ANN] Money 3.0.1

    Shane Emmons, May 26, 2010, in forum: Ruby
    Replies:
    3
    Views:
    92
  4. Shane Emmons

    [ANN] Money 3.0.4

    Shane Emmons, Jun 24, 2010, in forum: Ruby
    Replies:
    0
    Views:
    81
    Shane Emmons
    Jun 24, 2010
  5. Shane Emmons

    [ANN] Money 3.1.0.pre1

    Shane Emmons, Aug 3, 2010, in forum: Ruby
    Replies:
    0
    Views:
    77
    Shane Emmons
    Aug 3, 2010
Loading...

Share This Page