Sha256: b7cccb9d76ad99a776fc39cb9c085acf305c4de9722aa1b3b36bcea124bc2d21
Contents?: true
Size: 854 Bytes
Versions: 2
Compression:
Stored size: 854 Bytes
Contents
#!/bin/env ruby # encoding: utf-8 # Source: Wikipedia require 'europe/currency/exchange_rates' # Europe Gem module Europe # currency module Currency CURRENCIES = { EUR: { name: 'Euro', symbol: '€', html: '€' }, BGN: { name: 'Lev', symbol: 'лв', html: 'лв' }, CZK: { name: 'Koruna', symbol: 'Kč', html: 'Kč' }, DKK: { name: 'Krone', symbol: 'kr.', html: 'kr' }, GBP: { name: 'Pound', symbol: '£', html: '£' }, HRK: { name: 'Kuna', symbol: 'kn.', html: 'kn' }, HUF: { name: 'Forint', symbol: 'Ft', html: 'Ft' }, PLN: { name: 'Zloty', symbol: 'zł', html: 'zł' }, RON: { name: 'Leu', symbol: 'lei', html: 'lei' }, SEK: { name: 'Krona', symbol: 'kr', html: 'kr' } }.freeze end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
europe-0.0.6 | lib/europe/currency/currency.rb |
europe-0.0.5 | lib/europe/currency/currency.rb |