Class: GitlabZOQL::Parser::Statement::FromClause

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(tables) ⇒ FromClause

Returns a new instance of FromClause.



77
78
79
# File 'lib/gitlab-zoql/parser/statement.rb', line 77

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

Instance Attribute Details

#tablesObject (readonly)

Returns the value of attribute tables.



81
82
83
# File 'lib/gitlab-zoql/parser/statement.rb', line 81

def tables
  @tables
end