Sha256: dc3ae07fc26a2d50f7c7820a8d0b0cb2bd9d33b76d579688fc10bf5e1954467d

Contents?: true

Size: 401 Bytes

Versions: 5

Compression:

Stored size: 401 Bytes

Contents

module Neo4j
  module Core

    module Traversal
      # Implements the Neo4j PruneEvaluator Java interface, only used internally.
      # @private
      class PruneEvaluator
        include Java::OrgNeo4jGraphdbTraversal::PruneEvaluator

        def initialize(proc)
          @proc = proc
        end

        def prune_after(path)
          @proc.call(path)
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
neo4j-core-2.0.1-java lib/neo4j-core/traversal/prune_evaluator.rb
neo4j-core-2.0.0-java lib/neo4j-core/traversal/prune_evaluator.rb
neo4j-core-2.0.0.rc2-java lib/neo4j-core/traversal/prune_evaluator.rb
neo4j-core-2.0.0.rc1-java lib/neo4j-core/traversal/prune_evaluator.rb
neo4j-core-0.0.15-java lib/neo4j-core/traversal/prune_evaluator.rb