mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
20 lines
385 B
Ruby
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
|