Class: GitlabZOQL::Parser::Statement::SelectList

Inherits:
Node
  • Object
show all
Defined in:
lib/gitlab-zoql/parser/statement.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Node

#accept, #to_sql

Constructor Details

#initialize(columns) ⇒ SelectList

Returns a new instance of SelectList.



44
45
46
# File 'lib/gitlab-zoql/parser/statement.rb', line 44

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

Instance Attribute Details

#columnsObject (readonly)

Returns the value of attribute columns.



48
49
50
# File 'lib/gitlab-zoql/parser/statement.rb', line 48

def columns
  @columns
end