class Orma::Attribute(T)

Defined in:

orma/attribute.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(model : ::Orma::Record.class, name : Symbol, value : Attribute(T)) #

[View source]
def self.new(model : ::Orma::Record.class, name : Symbol, value : T) #

[View source]

Instance Method Detail

def <(other : self) #

[View source]
def <(other : T) #

[View source]
def <=(other : self) #

[View source]
def <=(other : T) #

[View source]
def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


[View source]
def ==(other : T) #

[View source]
def >(other : self) #

[View source]
def >(other : T) #

[View source]
def >=(other : self) #

[View source]
def >=(other : T) #

[View source]
def model : Orma::Record.class #

[View source]
def name : Symbol #

[View source]
def to_s(io) #

[View source]
def value : T #

[View source]
def value=(new_val : Attribute(T)) #

[View source]
def value=(value : T) #

[View source]