enum

Redis::Geo::Sort

Inherits Enum < Comparable < Value < Object

Sort directions for geosearch comands.

Constants

ASC = 0

Sort results in ascending order

DESC = 1

Sort results in descending order

Instance methods

asc?

Returns true if this enum value equals ASC

Source
desc?

Returns true if this enum value equals DESC

Source