Sha256: efd09fe852ecefe4ac0b5aee66e130f8ac1a05fff0f63602441441c4efa46ef3
Contents?: true
Size: 241 Bytes
Versions: 2
Compression:
Stored size: 241 Bytes
Contents
module CypherBuilder def Param(name) Param.new(name) end class Param def initialize(name) @name = name end def as_cypher(payload:) payload.will_be_used(@name) sprintf('{%s}', @name) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cypher_builder-0.0.2 | lib/cypher_builder/param.rb |
cypher_builder-0.0.1 | lib/cypher_builder/param.rb |