mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
14 lines
204 B
Ruby
14 lines
204 B
Ruby
module Arel
|
|
class Value
|
|
attributes :value, :relation
|
|
deriving :initialize, :==
|
|
|
|
def bind(relation)
|
|
Value.new(value, relation)
|
|
end
|
|
|
|
def to_ordering
|
|
self
|
|
end
|
|
end
|
|
end
|