lib/grumlin/anonymous_step.rb in grumlin-0.11.0 vs lib/grumlin/anonymous_step.rb in grumlin-0.12.0
- old
+ new
@@ -3,12 +3,12 @@
module Grumlin
class AnonymousStep
attr_reader :name, :args, :previous_step
# TODO: add other steps
- SUPPORTED_STEPS = %w[E V addE addV as by coalesce count dedup drop elementMap emit fold from group groupCount has
- hasId hasLabel hasNot in inV label limit not order out outE path project property repeat select
- to unfold union valueMap values where].freeze
+ SUPPORTED_STEPS = %i[E V addE addV as both by coalesce count dedup drop elementMap emit fold from group groupCount
+ has hasId hasLabel hasNot id in inV label limit not order out outE path project property range
+ repeat select skip tail to unfold union until valueMap values where with].freeze
def initialize(name, *args, previous_step: nil)
@name = name
@previous_step = previous_step
@args = args