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
2011-08-08 16:41:32 +01:00

18 lines
337 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 empty?
!left && right.empty?
end
end
end
end