Class: QueryBuilder::Core::Base Abstract
- Inherits:
-
Object
- Object
- QueryBuilder::Core::Base
- Extended by:
- AttributesDSL
- Defined in:
- lib/query_builder/core/base.rb
Overview
This class is abstract.
The abstract base class for all nodes of AST: statemens, clauses, operators
Declares common attributes, ‘#initializer`, and `#to_s` instance methods.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Base
constructor
Initializes the instance.
-
#to_s ⇒ String
abstract
Returns the current chunk of CQL statement.
Constructor Details
#initialize(attributes = {}) ⇒ Base
Initializes the instance
20 21 22 23 |
# File 'lib/query_builder/core/base.rb', line 20 def initialize(_attributes = {}) super IceNine.deep_freeze(self) end |
Instance Method Details
#to_s ⇒ String
This method is abstract.
Returns the current chunk of CQL statement
32 33 34 |
# File 'lib/query_builder/core/base.rb', line 32 def to_s "" end |