aboutsummaryrefslogblamecommitdiffstats
path: root/lib/arel/algebra/value.rb
blob: e3638051402a8084e2819adb15dda770c6ce80a8 (plain) (tree)
1
2
3
4
5
6
7
8
9
           
             

                                
 


                                
 

                   
       
     
   
module Arel
  class Value
    attributes :value, :relation
    deriving :initialize, :==

    def bind(relation)
      Value.new(value, relation)
    end

    def to_ordering
      self
    end
  end
end