Class: Aspen::AbstractStatement
- Inherits:
-
Object
- Object
- Aspen::AbstractStatement
- Defined in:
- lib/aspen/abstract_statement.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#nodes ⇒ Array<Aspen::Node>
A list of nodes from the statement.
-
#signature ⇒ String
A short description the relationship contained in the statement.
-
#to_cypher ⇒ String
The Cypher query from this particular statement.
-
#type ⇒ String
The type of statement (:vanilla, :custom).
Instance Method Details
#nodes ⇒ Array<Aspen::Node>
Returns a list of nodes from the statement.
24 25 26 |
# File 'lib/aspen/abstract_statement.rb', line 24 def nodes raise NotImplementedError, "Find me in #{__FILE__}" end |
#signature ⇒ String
Returns a short description the relationship contained in the statement.
19 20 21 |
# File 'lib/aspen/abstract_statement.rb', line 19 def signature raise NotImplementedError, "Find me in #{__FILE__}" end |
#to_cypher ⇒ String
Returns the Cypher query from this particular statement.
29 30 31 |
# File 'lib/aspen/abstract_statement.rb', line 29 def to_cypher raise NotImplementedError, "Find me in #{__FILE__}" end |
#type ⇒ String
Returns the type of statement (:vanilla, :custom).
10 11 12 |
# File 'lib/aspen/abstract_statement.rb', line 10 def type raise NotImplementedError, "Find me in #{__FILE__}" end |