Sha256: 07fd671eac3a07bf31da914c351740e6bbe5430f78f2c0f3114fee75efae94f3

Contents?: true

Size: 206 Bytes

Versions: 2

Compression:

Stored size: 206 Bytes

Contents

module CoreExtensions
  module String
    module HumanizeFraction
      def humanize_fraction(options = {})
        ::HumanizeFraction::Humanizer.from_string(self).to_s(options)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
humanize_fraction-0.1.2 lib/core_extensions/string/humanize_fraction.rb
humanize_fraction-0.1.1 lib/core_extensions/string/humanize_fraction.rb