Sha256: a8e7bd595d2d96eed463a8e7a7b9440dfb952e3d026b0ad8a4e0a212533ab263
Contents?: true
Size: 308 Bytes
Versions: 2
Compression:
Stored size: 308 Bytes
Contents
module CypherBuilder def Eql(left, right) Eql.new(left, right) end class Eql include Resolver def initialize(left, right) @left, @right = wrap(left, right) end def as_cypher(opts) sprintf('%s = %s', resolve(@left, ** opts), resolve(@right, ** opts)) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cypher_builder-0.0.2 | lib/cypher_builder/eql.rb |
cypher_builder-0.0.1 | lib/cypher_builder/eql.rb |