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/join_source.rb
2010-12-14 09:43:19 -08:00

20 lines
414 B
Ruby

module Arel
module Nodes
###
# Class that represents a join source
#
# http://www.sqlite.org/syntaxdiagrams.html#join-source
class JoinSource < Arel::Nodes::Binary
def initialize single_source, joinop = []
super
end
def initialize_copy other
super
@left = @left.clone if @left
@right = @right.clone if @right
end
end
end
end