Sha256: 3ece14db4459979a1b67e0b085d2a3dca09799968030a5d2b2f4a874ed32ac98
Contents?: true
Size: 283 Bytes
Versions: 2
Compression:
Stored size: 283 Bytes
Contents
module CypherBuilder def Return(*parts) Return.new(*parts) end class Return include Resolver def initialize(*parts) @parts = wrap(*parts) end def as_cypher(opts) sprintf('RETURN %s', resolve(@parts, separator: ', ', **opts)) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cypher_builder-0.0.2 | lib/cypher_builder/return.rb |
cypher_builder-0.0.1 | lib/cypher_builder/return.rb |