Class: Cyrel::Clause::Base
- Inherits:
-
Object
- Object
- Cyrel::Clause::Base
- Defined in:
- lib/cyrel/clause.rb
Overview
Abstract method for rendering Cypher clauses. You’d think all subclasses would implement this, but lol, developers.
Direct Known Subclasses
AST::ClauseAdapter, Call, CallSubquery, Create, Delete, Limit, Match, Merge, OrderBy, Remove, Return, Set, Skip, Unwind, Where, With
Instance Method Summary collapse
-
#render(query) ⇒ String?
Renders the specific Cypher clause fragment.
Instance Method Details
#render(query) ⇒ String?
Renders the specific Cypher clause fragment. Subclasses must implement this method.
14 15 16 |
# File 'lib/cyrel/clause.rb', line 14 def render(query) raise NotImplementedError, "#{self.class} must implement the 'render' method" end |