class CypherBuilder::Literal
Public Class Methods
new(value)
click to toggle source
# File lib/cypher_builder/literal.rb, line 8 def initialize(value) @value = value end
Public Instance Methods
as_cypher(_)
click to toggle source
# File lib/cypher_builder/literal.rb, line 12 def as_cypher(_) # TODO escape "'" sprintf('"%s"', @value) end