1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/lib/arel/algebra/value.rb

15 lines
204 B
Ruby
Raw Normal View History

module Arel
class Value
2008-05-19 22:38:36 -04:00
attributes :value, :relation
deriving :initialize, :==
def bind(relation)
Value.new(value, relation)
end
def to_ordering
self
end
end
end