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/select_core.rb

20 lines
385 B
Ruby

module Arel
module Nodes
class SelectCore
attr_reader :froms, :projections, :wheres
def initialize
@froms = []
@projections = []
@wheres = []
end
def initialize_copy other
super
@froms = @froms.clone
@projections = @projections.clone
@wheres = @wheres.clone
end
end
end
end