Sha256: b7e42cb1a5b54736c7e8fc2159cf8df08c0f4760c72eecb9009d375716788a1a
Contents?: true
Size: 256 Bytes
Versions: 2
Compression:
Stored size: 256 Bytes
Contents
module CypherBuilder def And(*parts) And.new(*parts) end class And include Resolver def initialize(*parts) @parts = wrap(*parts) end def as_cypher(opts) resolve(@parts, separator: ' AND ', ** opts) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cypher_builder-0.0.2 | lib/cypher_builder/and.rb |
cypher_builder-0.0.1 | lib/cypher_builder/and.rb |