Sha256: 2935bfc61cfa9d09902f22a7dfc1ad439748ac4770f39e699d4c8c17935e3b9f
Contents?: true
Size: 768 Bytes
Versions: 4
Compression:
Stored size: 768 Bytes
Contents
# encoding: utf-8 module Veritas class Attribute # A mixin for attributes that have orderable values module Orderable # Sort the attribute in ascending order # # @example # ascending = attribute.asc # # @return [Relation::Operation::Order::Ascending] # # @api public def asc Relation::Operation::Order::Ascending.new(self) end # Sort the attribute in descending order # # @example # descending = attribute.desc # # @return [Relation::Operation::Order::Descending] # # @api public def desc Relation::Operation::Order::Descending.new(self) end end # module Orderable end #class Attribute end # module Veritas
Version data entries
4 entries across 4 versions & 1 rubygems