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