Class: RuboCop::Isucon::GDA::JoinCondition

Inherits:
Object
  • Object
show all
Defined in:
lib/rubocop/isucon/gda/join_condition.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(operator: nil, operands: []) ⇒ JoinCondition

Returns a new instance of JoinCondition.

Parameters:



18
19
20
21
# File 'lib/rubocop/isucon/gda/join_condition.rb', line 18

def initialize(operator: nil, operands: [])
  @operator = operator
  @operands = operands
end

Instance Attribute Details

#operandsArray<RuboCop::Isucon::GDA::JoinOperand>



14
15
16
# File 'lib/rubocop/isucon/gda/join_condition.rb', line 14

def operands
  @operands
end

#operatorString

Returns:

  • (String)


10
11
12
# File 'lib/rubocop/isucon/gda/join_condition.rb', line 10

def operator
  @operator
end