Sha256: 0ffdbdecd00f468d04aa65170738159751f0bcddf6ba270249eb86be85083bd1

Contents?: true

Size: 604 Bytes

Versions: 2

Compression:

Stored size: 604 Bytes

Contents

module Arel
  module Nodes
    class SelectCore < Arel::Nodes::Node
      attr_accessor :froms, :projections, :wheres, :groups
      attr_accessor :having

      def initialize
        @froms       = nil
        @projections = []
        @wheres      = []
        @groups      = []
        @having      = nil
      end

      def initialize_copy other
        super
        @froms       = @froms.clone if @froms
        @projections = @projections.clone
        @wheres      = @wheres.clone
        @group       = @groups.clone
        @having      = @having.clone if @having
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
arel-2.0.6 lib/arel/nodes/select_core.rb
arel-2.0.5 lib/arel/nodes/select_core.rb