lib/grumlin/expressions/u.rb in grumlin-0.13.1 vs lib/grumlin/expressions/u.rb in grumlin-0.14.0

- old
+ new

@@ -7,11 +7,11 @@ SUPPORTED_STEPS = %i[V addV count drop fold has hasLabel id in inE inV label out outE outV project repeat timeLimit unfold valueMap values].freeze class << self SUPPORTED_STEPS.each do |step| - define_method step do |*args| - AnonymousStep.new(step, *args) + define_method step do |*args, **params| + AnonymousStep.new(step, *args, **params) end end end end end