Class: GitlabZOQL::Parser::Statement::WhereClause

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(search_condition) ⇒ WhereClause

Returns a new instance of WhereClause.



60
61
62
# File 'lib/gitlab-zoql/parser/statement.rb', line 60

def initialize(search_condition)
  @search_condition = search_condition
end

Instance Attribute Details

#search_conditionObject (readonly)

Returns the value of attribute search_condition.



64
65
66
# File 'lib/gitlab-zoql/parser/statement.rb', line 64

def search_condition
  @search_condition
end