Sha256: d090463f6eb59838b9e29bcc9e1f825b0e9c33d09f69dcdfd268571a7d7aea06
Contents?: true
Size: 843 Bytes
Versions: 4
Compression:
Stored size: 843 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' } } end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
europe-0.0.4 | lib/europe/currency/currency.rb |
europe-0.0.3 | lib/europe/currency/currency.rb |
europe-0.0.2 | lib/europe/currency/currency.rb |
europe-0.0.1 | lib/europe/currency/currency.rb |