mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
17 lines
294 B
Ruby
17 lines
294 B
Ruby
module Arel
|
|
module Nodes
|
|
class Equality
|
|
attr_accessor :left, :right
|
|
|
|
def initialize left, right
|
|
@left = left
|
|
@right = right
|
|
end
|
|
|
|
def to_sql
|
|
viz = Visitors::ToSql.new left.relation.engine
|
|
viz.accept self
|
|
end
|
|
end
|
|
end
|
|
end
|