Class: CypherBuilder::AsIs
- Inherits:
-
Object
- Object
- CypherBuilder::AsIs
- Includes:
- Resolver
- Defined in:
- lib/cypher_builder/as_is.rb
Instance Method Summary collapse
- #as_cypher(_) ⇒ Object
-
#initialize(value) ⇒ AsIs
constructor
A new instance of AsIs.
Methods included from Resolver
Constructor Details
#initialize(value) ⇒ AsIs
Returns a new instance of AsIs.
8 9 10 |
# File 'lib/cypher_builder/as_is.rb', line 8 def initialize(value) @value = value end |
Instance Method Details
#as_cypher(_) ⇒ Object
12 13 14 |
# File 'lib/cypher_builder/as_is.rb', line 12 def as_cypher(_) @value.to_s end |