aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/algebra/primitives/value.rb
blob: e3638051402a8084e2819adb15dda770c6ce80a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module Arel
  class Value
    attributes :value, :relation
    deriving :initialize, :==

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

    def to_ordering
      self
    end
  end
end