Sha256: 2108cdb4eb446f526107e0d63182db8616305e72f8a7994c950febf2baa4b5f4
Contents?: true
Size: 397 Bytes
Versions: 4
Compression:
Stored size: 397 Bytes
Contents
# frozen_string_literal: true module Grumlin class Traversal attr_reader :connection def initialize(pool = Grumlin.config.default_pool) @pool = pool end # TODO: add other start steps %w[addV addE V E].each do |step| define_method step do |*args| Step.new(@pool, step, *args) end end alias addVertex addV alias addEdge addE end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
grumlin-0.5.1 | lib/grumlin/traversal.rb |
grumlin-0.5.0 | lib/grumlin/traversal.rb |
grumlin-0.4.0 | lib/grumlin/traversal.rb |
grumlin-0.3.0 | lib/grumlin/traversal.rb |