Sha256: 8cd270c9c9a4aaed92ff68104db67e63687455d25891ffa033332ebcdce4888f
Contents?: true
Size: 251 Bytes
Versions: 3
Compression:
Stored size: 251 Bytes
Contents
module CypherBuilder def Param(name) Param.new(name) end class Param def initialize(name) @name = name end def as_cypher(payload:, context:) payload.will_be_used(@name) sprintf('{%s}', @name) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cypher_builder-0.0.5 | lib/cypher_builder/param.rb |
cypher_builder-0.0.4 | lib/cypher_builder/param.rb |
cypher_builder-0.0.3 | lib/cypher_builder/param.rb |