Sha256: cff6a49b6422c1160692b51f6502d3d35567568a865b2223e94197fac3d1bfcf
Contents?: true
Size: 677 Bytes
Versions: 4
Compression:
Stored size: 677 Bytes
Contents
module Neo4j module Core module Traversal # Implements the Neo4j PruneEvaluator Java interface, only used internally. # @private class PruneEvaluator include Java::OrgNeo4jGraphdbTraversal::Evaluator def initialize(proc) @proc = proc end def evaluate(path) return Java::OrgNeo4jGraphdbTraversal::Evaluation::EXCLUDE_AND_CONTINUE if path.length == 0 if @proc.call(path) Java::OrgNeo4jGraphdbTraversal::Evaluation::INCLUDE_AND_PRUNE else Java::OrgNeo4jGraphdbTraversal::Evaluation::INCLUDE_AND_CONTINUE end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems