lib/grumlin/expressions/order.rb in grumlin-0.15.3 vs lib/grumlin/expressions/order.rb in grumlin-0.15.4
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
module Grumlin
module Expressions
module Order
- SUPPORTED_STEPS = %i[asc desc shuffle].freeze
+ SUPPORTED_STEPS = Grumlin.definitions.dig(:expressions, :order).map(&:to_sym).freeze
class << self
extend Expression
define_steps(SUPPORTED_STEPS, "Order")