lib/grumlin/expressions/operator.rb in grumlin-0.23.0 vs lib/grumlin/expressions/operator.rb in grumlin-1.0.0.rc1
- old
+ new
@@ -1,15 +1,11 @@
# frozen_string_literal: true
-module Grumlin
- module Expressions
- module Operator
- SUPPORTED_STEPS = Grumlin.definitions.dig(:expressions, :operator).map(&:to_sym).freeze
+module Grumlin::Expressions::Operator
+ SUPPORTED_STEPS = Grumlin.definitions.dig(:expressions, :operator).map(&:to_sym).freeze
- class << self
- extend Expression
+ class << self
+ extend Grumlin::Expressions::Expression
- define_steps(SUPPORTED_STEPS, "Operator")
- end
- end
+ define_steps(SUPPORTED_STEPS, "Operator")
end
end