logo
首页技术栈工具库讨论
currencies

currencies

If you are tracking any kind of assets the currencies gem is for you. It contains every currency in the ISO 4217 standard and allows you to add your own as well. So if you decide to take sparkly buttons as a form of payment you can use currencies to display the shiny button unicode symbol ☼ (disclaimer: ☼ may not look like a shiny button to everyone.) when used with something like the money gem. Speaking of the money gem, currencies gives you an ExchangeBank that the money gem can use to convert from one currency to another. There are plans to have ExchangeRate provider plugin system. Right now the rates are either set manually or pulled from Yahoo Finance.
由 
bruceshi2021-01-13 收录
--
推荐
不推荐
更多信息
GitHub iconhexorx/currencies80
RUBYGEMS
gem install currencies
查看
标签
根据用户添加的标签生成
暂无标签