aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/relations/nil.rb
blob: 67eb2d3a627bff00ec5ae8584b6bb90429d931bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
module Arel
  class Nil < Relation
    def table_sql(formatter = nil); '' end
    def name; '' end
    def to_s; '' end
    
    def ==(other)
      self.class == other.class
    end
  end
  
end