Sha256: bd845552f07587936061002030a006d23bc0c299d19737afbc0b512425fb37eb
Contents?: true
Size: 400 Bytes
Versions: 64
Compression:
Stored size: 400 Bytes
Contents
# encoding: UTF-8 # Copyright 2012 Twitter, Inc # http://www.apache.org/licenses/LICENSE-2.0 module TwitterCldr module Formatters class PercentFormatter < NumberFormatter DEFAULT_PERCENT_SIGN = "%" def format(tokens, number, options = {}) super(tokens, number, options).gsub('ยค', data_reader.symbols[:percent_sign] || DEFAULT_PERCENT_SIGN) end end end end
Version data entries
64 entries across 64 versions & 3 rubygems