Sha256: ead1ebb7a9f09991b98fffc63b7ad330d8448f2a550871dc16f4087bfe7c1874

Contents?: true

Size: 193 Bytes

Versions: 4

Compression:

Stored size: 193 Bytes

Contents

module ActiveGraph
  module Core
    class Type < Element
      def pattern(spec)
        "()-[#{spec}]-()"
      end

      def element_type
        'RELATIONSHIP'
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
activegraph-12.0.0.beta.4 lib/active_graph/core/type.rb
activegraph-12.0.0.beta.3 lib/active_graph/core/type.rb
activegraph-12.0.0.beta.2 lib/active_graph/core/type.rb
activegraph-12.0.0.beta.1 lib/active_graph/core/type.rb