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

                                          
 
                 
                        
       

     
module Arel
  class Nil < Relation
    def table_sql(formatter = nil); '' end
    def name; '' end

    def ==(other)
      Nil == other.class
    end
  end
end