Sha256: 12fc6c9cdc3d5146c278d5c783e071db22e7d5f55a71c08fd341b5e2008c9e01
Contents?: true
Size: 318 Bytes
Versions: 53
Compression:
Stored size: 318 Bytes
Contents
module ActiveSupport module NumberHelper class NumberToPercentageConverter < NumberConverter # :nodoc: self.namespace = :percentage def convert rounded_number = NumberToRoundedConverter.convert(number, options) options[:format].gsub(/%n/, rounded_number) end end end end
Version data entries
53 entries across 51 versions & 10 rubygems