Sha256: ebb1d5c05365be79fb5ace2896ffff559463d56ff9517c801bbc811245718b82

Contents?: true

Size: 323 Bytes

Versions: 3

Compression:

Stored size: 323 Bytes

Contents

# encoding: utf-8

module Axiom
  module Types

    # Represents a numeric type
    class Numeric < Object
      extend ValueComparable

      primitive       ::Numeric
      coercion_method :to_numeric

      minimum NegativeInfinity
      maximum Infinity

    end # class Numeric
  end # module Types
end # module Axiom

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
axiom-types-0.0.5 lib/axiom/types/numeric.rb
axiom-types-0.0.4 lib/axiom/types/numeric.rb
axiom-types-0.0.3 lib/axiom/types/numeric.rb