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
2010-09-07 15:47:38 -07:00

22 lines
468 B
Ruby

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