Sha256: e5eec6a5fa6c9f36c0d527af47ce716cd96f2e3371671c79d77fafcff2ef02f7

Contents?: true

Size: 458 Bytes

Versions: 2

Compression:

Stored size: 458 Bytes

Contents

# encoding: utf-8

module Axiom
  class Attribute

    # Represents a Decimal value in a relation tuple
    class Decimal < Numeric

      # The attribute type
      #
      # @example
      #   type = Axiom::Attribute::Decimal.type  # => Axiom::Types::Decimal
      #
      # @return [Class<Types::Decimal>]
      #
      # @api public
      def self.type
        Types::Decimal
      end

    end # class Decimal
  end # class Attribute
end # module Axiom

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
axiom-0.2.0 lib/axiom/attribute/decimal.rb
axiom-0.1.1 lib/axiom/attribute/decimal.rb