Sha256: 1b5c305c13a78b7f446185e0dbd3d07bd57122d2971f0274c2b11e20771a29c8

Contents?: true

Size: 160 Bytes

Versions: 6

Compression:

Stored size: 160 Bytes

Contents

module Percentable
  module Numeric
    def to_percent
      Percentable::Percent.new(self)
    end
  end
end

class Numeric
  include Percentable::Numeric
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
percentable-1.1.2 lib/percentable/numeric.rb
percentable-1.0.2 lib/percentable/numeric.rb
percentable-1.0.1 lib/percentable/numeric.rb
percentable-1.0.0 lib/percentable/numeric.rb
percentable-0.1.0 lib/percentable/numeric.rb
percentable-0.0.1 lib/percentable/numeric.rb