Sha256: 022a40f27b406c60acac5c46185c951efb5b1b065ffadfbfefce711705ecb38a
Contents?: true
Size: 329 Bytes
Versions: 1
Compression:
Stored size: 329 Bytes
Contents
module CypherBuilder def Match(*args) Match.new(*args) end class Match include Resolver def initialize(*parts) @parts = wrap(*parts) end def as_cypher(payload:, context: ) resolve(@parts, format: 'MATCH %s', separator: ', ', payload: payload, context: context.add(self)) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cypher_builder-0.0.4 | lib/cypher_builder/match.rb |