0.0
No commit activity in last 3 years
No release in over 3 years
Currency converter
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

money-converter

Download and Install

gem install money-converter

or on your Gemfile:

gem "money-converter", "~> 1.0.1"

and run

bundle install

Usage

require 'money_converter'

#Exchange of brazilian reais(BRL) to us dollars(USD)

money = MoneyConverter.new('BRL','USD',10.00)
money.exchange  #=> 4.74113

Changelog

Version 1.0.0

  • The method convert_currency has been replaced by exchange in this version.

Contributing to money-converter

  1. Fork the project.
  2. Start a feature/bugfix branch.
  3. Commit and push until you are happy with your contribution.
  4. Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.

Copyright (c) 2012 LEONEL MORAIS. See LICENSE.txt for further details.