1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/lib/arel/nodes/equality.rb
2010-08-12 15:40:58 -07:00

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