Sha256: 21372a71cae0a6df920cc3f26337a04d0445d0ef10dafe1b8919ec6f684d29c3
Contents?: true
Size: 1009 Bytes
Versions: 1
Compression:
Stored size: 1009 Bytes
Contents
module ISO4217 GENERIC_CURRENCY_SIGN= "U+00a4" DOLLAR_SIGN = "U+0024" ALBANIAN_LEKE= Currency.new(:ALL, "U+004cU+0065U+6b", 'Lek') AMERICAN_DOLLAR= Currency.new(:USD, DOLLAR_SIGN, 'US dollar') AFGHANI= Currency.new(:AFN, "U+060b", 'Afghani') ARGENTINA_PESOS= Currency.new(:ARS, "U+0024", 'Argentine peso') ARUBAN_GUILDER= Currency.new(:AWG, "U+0192", 'Aruban guilder') AUSTRALIAN_DOLLAR= Currency.new(:AUD, DOLLAR_SIGN, 'Australian dollar') AZERBAIJANIAN_MANAT= Currency.new(:AZN, "U+043cU+0430U+043d", 'Azerbaijanian manat') BAHAMAS_DOLLAR= Currency.new(:BSD, DOLLAR_SIGN, 'Bahamian dollar') BARBADOS_DOLLAR= Currency.new(:BBD, DOLLAR_SIGN, 'Barbados dollar') BELARUS_RUBLE= Currency.new(:BYR, "U+0070U+002e", 'Belarusian ruble') BELIZE_DOLLAR= Currency.new(:BZD, "U+0042U+005aU+0024", 'Belize dollar') EURO= Currency.new(:EUR, "U+20ac", 'euro') GBP= Currency.new(:GBP, "U+00a3", 'Pound sterling') USD= AMERICAN_DOLLAR def currency(name) eval(name.to_s) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ecriso4217-0.4.0 | lib/iso4217/currencies.rb |