module JekyllMoney::Filter

Public Instance Methods

money(value, currency = "USD") click to toggle source
# File lib/jekyll-money/filter.rb, line 3
def money(value, currency = "USD")
  config = @context.registers[:site].config.fetch('jekyll_money', {})
  JekyllMoney::Core.money(value, currency, config)
end