Sha256: 313cb2559ff40f6dedc2960c4f0d208320340a9b75d48546cfdd38644f321737

Contents?: true

Size: 524 Bytes

Versions: 3

Compression:

Stored size: 524 Bytes

Contents

# frozen_string_literal: true

#
# Copyright (c) 2020-present, Blue Marble Payroll, LLC
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
#

module Realize
  class Collection
    class Sort
      # Constants describing the possible values of 'direction' for a Sort instance.
      module Direction
        # providing a few different ways to specify.
        ASCENDING  = ASC  = 'ASC'
        DESCENDING = DESC = 'DESC'
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
realize-1.6.0 lib/realize/collection/sort/direction.rb
realize-1.5.0 lib/realize/collection/sort/direction.rb
realize-1.4.0 lib/realize/collection/sort/direction.rb