Sha256: 7bce11d0f0fa6fa872b29ef8ff5ba5e90bbf7d4abb74301ca5aa9ee3bb9701dc
Contents?: true
Size: 325 Bytes
Versions: 23
Compression:
Stored size: 325 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".freeze, rounded_number) end end end end
Version data entries
23 entries across 23 versions & 3 rubygems