lib/grumlin/expressions/order.rb in grumlin-0.23.0 vs lib/grumlin/expressions/order.rb in grumlin-1.0.0.rc1

- old
+ new

@@ -1,15 +1,11 @@ # frozen_string_literal: true -module Grumlin - module Expressions - module Order - SUPPORTED_STEPS = Grumlin.definitions.dig(:expressions, :order).map(&:to_sym).freeze +module Grumlin::Expressions::Order + SUPPORTED_STEPS = Grumlin.definitions.dig(:expressions, :order).map(&:to_sym).freeze - class << self - extend Expression + class << self + extend Grumlin::Expressions::Expression - define_steps(SUPPORTED_STEPS, "Order") - end - end + define_steps(SUPPORTED_STEPS, "Order") end end