Class: Arel::Attributes::Attribute

Inherits:
Struct
  • Object
show all
Includes:
Expressions, Predications
Defined in:
lib/arel/attributes/attribute.rb

Direct Known Subclasses

Boolean, Decimal, Float, Integer, String, Time, Undefined

Instance Attribute Summary collapse

Method Summary

Methods included from Predications

#as, #asc, #desc, #does_not_match, #does_not_match_all, #does_not_match_any, #eq, #eq_all, #eq_any, #gt, #gt_all, #gt_any, #gteq, #gteq_all, #gteq_any, #in, #in_all, #in_any, #lt, #lt_all, #lt_any, #lteq, #lteq_all, #lteq_any, #matches, #matches_all, #matches_any, #not_eq, #not_eq_all, #not_eq_any, #not_in, #not_in_all, #not_in_any

Methods included from Expressions

#average, #count, #maximum, #minimum, #sum

Instance Attribute Details

#columnObject

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



3
4
5
# File 'lib/arel/attributes/attribute.rb', line 3

def column
  @column
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



3
4
5
# File 'lib/arel/attributes/attribute.rb', line 3

def name
  @name
end

#relationObject

Returns the value of attribute relation

Returns:

  • (Object)

    the current value of relation



3
4
5
# File 'lib/arel/attributes/attribute.rb', line 3

def relation
  @relation
end