Sha256: 832a85fa39fca58e32bfa1c679129e1e605d732ceb8fa2d583db3de9ccab870e
Contents?: true
Size: 327 Bytes
Versions: 12
Compression:
Stored size: 327 Bytes
Contents
module Arel module Nodes class Ordering < Arel::Nodes::Binary alias :expr :left alias :direction :right def initialize expr, direction = :asc super end def ascending? direction == :asc end def descending? direction == :desc end end end end
Version data entries
12 entries across 12 versions & 2 rubygems