aboutsummaryrefslogblamecommitdiffstats
path: root/lib/arel/relations/skip.rb
blob: f17e439ebf8cf8a008efa4d6f0736e9695973b84 (plain) (tree)
1
2
3
4
5
6
7
8
9
           
                       
                        
 

                                             


                 


                                       
       

     
module Arel
  class Skip < Compound
    attr_reader :skipped

    def initialize(relation, skipped)
      @relation, @skipped = relation, skipped
    end

    def ==(other)
      self.class  == other.class    and
      relation    == other.relation and
      skipped     == other.skipped
    end
  end
end