Sha256: bd9b6447a65efd159de947e8df70b0f9fde4b9f5dfc57b270bdb969c7e139b19

Contents?: true

Size: 637 Bytes

Versions: 8

Compression:

Stored size: 637 Bytes

Contents

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

      def initialize
        @top         = nil
        @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

8 entries across 8 versions & 2 rubygems

Version Path
arel-2.0.10 lib/arel/nodes/select_core.rb
square-arel-2.0.9.20110222133018 lib/arel/nodes/select_core.rb
arel-2.0.9 lib/arel/nodes/select_core.rb
arel-2.0.9.rc1 lib/arel/nodes/select_core.rb
arel-2.0.8 lib/arel/nodes/select_core.rb
arel-2.0.8.beta.20110131120940 lib/arel/nodes/select_core.rb
arel-2.0.7 lib/arel/nodes/select_core.rb
arel-2.0.7.beta.20110110114925 lib/arel/nodes/select_core.rb