Class: Arel::Nodes::PostgresArray

Inherits:
Node
  • Object
show all
Includes:
AliasPredication
Defined in:
lib/arel/nodes/postgresql.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(values) ⇒ PostgresArray

Returns a new instance of PostgresArray.



9
10
11
# File 'lib/arel/nodes/postgresql.rb', line 9

def initialize(values)
  self.values = values
end

Instance Attribute Details

#valuesObject

Returns the value of attribute values.



7
8
9
# File 'lib/arel/nodes/postgresql.rb', line 7

def values
  @values
end