mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Use symbol consistently for operator in InfixOperation
This commit is contained in:
parent
b027288823
commit
74e826a9e9
1 changed files with 3 additions and 3 deletions
|
@ -43,19 +43,19 @@ module Arel # :nodoc: all
|
||||||
|
|
||||||
class Concat < InfixOperation
|
class Concat < InfixOperation
|
||||||
def initialize(left, right)
|
def initialize(left, right)
|
||||||
super("||", left, right)
|
super(:"||", left, right)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Contains < InfixOperation
|
class Contains < InfixOperation
|
||||||
def initialize(left, right)
|
def initialize(left, right)
|
||||||
super("@>", left, right)
|
super(:"@>", left, right)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Overlaps < InfixOperation
|
class Overlaps < InfixOperation
|
||||||
def initialize(left, right)
|
def initialize(left, right)
|
||||||
super("&&", left, right)
|
super(:"&&", left, right)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue