Class: Axiom::Attribute::Object

Overview

Represents an Object value in a relation tuple

Direct Known Subclasses

Boolean, Class, Date, DateTime, Numeric, Relation, String, Time, Tuple

Constant Summary

Constants inherited from Axiom::Attribute

FalseClass, TrueClass

Instance Attribute Summary

Attributes inherited from Axiom::Attribute

#name, #type

Class Method Summary collapse

Methods included from Function::Predicate::Equality::Methods

#eq

Methods included from Function::Predicate::Exclusion::Methods

#exclude

Methods included from Function::Predicate::Inequality::Methods

#ne

Methods included from Function::Predicate::Inclusion::Methods

#include

Methods included from Axiom::Aggregate::Count::Methods

#count

Methods inherited from Axiom::Attribute

#call, coerce, #include?, infer_type, #initialize, name_from, #optional?, #rename, #required?

Methods included from Axiom::Aliasable

#inheritable_alias

Methods included from Visitable

#accept

Constructor Details

This class inherits a constructor from Axiom::Attribute

Class Method Details

.typeClass<Types::Object>

The attribute type

Examples:

type = Axiom::Attribute::Object.type  # => Axiom::Types::Object

Returns:



22
23
24
# File 'lib/axiom/attribute/object.rb', line 22

def self.type
  Types::Object
end