Sha256: 700ad339e33693d709625f709be2960398b732b6e135473145ded07f3e0f9549

Contents?: true

Size: 513 Bytes

Versions: 2

Compression:

Stored size: 513 Bytes

Contents

# frozen_string_literal: true

module Grumlin
  module Expressions
    module U
      # TODO: add other start steps
      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, **params|
            AnonymousStep.new(step, *args, **params)
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
grumlin-0.14.1 lib/grumlin/expressions/u.rb
grumlin-0.14.0 lib/grumlin/expressions/u.rb