Skip to content

Commit 911b8ab

Browse files
committed
Removing Exchange Bank from readme
This is due to 1. Broken, 2. Unmaintained, 3. Outside the scope of the gem.
1 parent 56f5c5c commit 911b8ab

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,6 @@ tmp
2020
.ruby-version
2121
.ruby-gemset
2222
.idea/
23-
Gemfile.lock
23+
Gemfile.lock
24+
rspec
25+
examples.txt

README.markdown

-7
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,6 @@ Countries now uses the [Currencies][] gem. What this means is you now get back a
129129
c.currency['name'] #=> 'Dollars'
130130
c.currency['symbol'] #=> '$'
131131

132-
If a country has an alternate currency it can be accessed via the *alt_currency* method and will also return a Currency object.
133-
134-
Since we are using the [Currencies][] gem we get a bonus ExchangeBank that can be used with the [Money][] gem. It auto loads exchange rates from Yahoo Finance.
135-
136-
Money.default_bank = Currency::ExchangeBank.new
137-
Money.us_dollar(100).exchange_to("CAD") # => Money.new(124, "CAD")
138-
139132
Address Formatting
140133
------------------
141134

0 commit comments

Comments
 (0)