Sha256: 79b270f127ed416770352158cc53b114949be21ecd4ce13dcb8186f548004d40
Contents?: true
Size: 399 Bytes
Versions: 5
Compression:
Stored size: 399 Bytes
Contents
# frozen_string_literal: true module Grumlin class Traversal attr_reader :connection # TODO: add other start steps SUPPORTED_START_STEPS = %w[E V addE addV].freeze def initialize(pool = Grumlin.default_pool) @pool = pool end SUPPORTED_START_STEPS.each do |step| define_method step do |*args| Step.new(@pool, step, *args) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems