lib/grumlin/anonymous_step.rb in grumlin-0.14.1 vs lib/grumlin/anonymous_step.rb in grumlin-0.14.2

- old
+ new

@@ -3,13 +3,13 @@ module Grumlin class AnonymousStep attr_reader :name, :previous_step, :configuration_steps # TODO: add other steps - SUPPORTED_STEPS = %i[E V addE addV and as both bothE by coalesce count dedup drop elementMap emit fold from group - groupCount has hasId hasLabel hasNot id in inE inV is label limit not or order out outE path - project property range repeat select sideEffect skip tail to unfold union until valueMap + SUPPORTED_STEPS = %i[E V addE addV and as both bothE by choose coalesce count dedup drop elementMap emit fold from + group groupCount has hasId hasLabel hasNot id in inE inV is label limit not or order out outE + path project property range repeat select sideEffect skip tail to unfold union until valueMap values where with].freeze def initialize(name, *args, configuration_steps: [], previous_step: nil, **params) @name = name @previous_step = previous_step @@ -30,10 +30,12 @@ def inspect bytecode.inspect end - alias to_s inspect + def to_s + inspect + end def bytecode(no_return: false) @bytecode ||= Bytecode.new(self, no_return: no_return) end