module Arel class Skip < Compound attr_reader :skipped def initialize(relation, skipped) @relation, @skipped = relation, skipped end def ==(other) Skip === other and relation == other.relation and skipped == other.skipped end end end