Sha256: 0828b82bb4dc60718e6aa355ae66f2a51954161505f5dbb05a6bb65165f6c69d

Contents?: true

Size: 250 Bytes

Versions: 11

Compression:

Stored size: 250 Bytes

Contents

module Shoppe::ApplicationHelper
  
  # Return all currencies with the currency provided by the Shoppe
  # configuration file.
  def number_to_currency(number, options = {})
    options[:unit] ||= Shoppe.config[:currency_unit]
    super
  end
  
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
shoppe-0.0.15 app/helpers/shoppe/application_helper.rb
shoppe-0.0.14 app/helpers/shoppe/application_helper.rb
shoppe-0.0.13 app/helpers/shoppe/application_helper.rb
shoppe-0.0.12 app/helpers/shoppe/application_helper.rb
shoppe-0.0.11 app/helpers/shoppe/application_helper.rb
shoppe-0.0.10 app/helpers/shoppe/application_helper.rb
shoppe-0.0.9 app/helpers/shoppe/application_helper.rb
shoppe-0.0.8 app/helpers/shoppe/application_helper.rb
shoppe-0.0.7 app/helpers/shoppe/application_helper.rb
shoppe-0.0.6 app/helpers/shoppe/application_helper.rb
shoppe-0.0.5 app/helpers/shoppe/application_helper.rb