Class: SQL::Statement::Using

Inherits:
Node
  • Object
show all
Defined in:
lib/sql/statement.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Node

#accept, #to_sql

Constructor Details

#initialize(columns) ⇒ Using

Returns a new instance of Using.


171
172
173
# File 'lib/sql/statement.rb', line 171

def initialize(columns)
  @columns = Array(columns)
end

Instance Attribute Details

#columnsObject (readonly)

Returns the value of attribute columns


175
176
177
# File 'lib/sql/statement.rb', line 175

def columns
  @columns
end