Sha256: ccdb3e34d3d95d20017eec766243183035127c752fdf9b25bd85d587a4da2422

Contents?: true

Size: 714 Bytes

Versions: 2

Compression:

Stored size: 714 Bytes

Contents

# encoding: utf-8

module Axiom
  class Attribute

    # Represents an Object value in a relation tuple
    class Object < Attribute
      include Function::Predicate::Equality::Methods,
              Function::Predicate::Exclusion::Methods,
              Function::Predicate::Inequality::Methods,
              Function::Predicate::Inclusion::Methods,
              Aggregate::Count::Methods

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

    end # class Object
  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/object.rb
axiom-0.1.1 lib/axiom/attribute/object.rb