class QueryBuilder::Core::Base

The abstract base class for all nodes of AST: statemens, clauses, operators

Declares common attributes, ‘#initializer`, and `#to_s` instance methods.

@abstract

Public Class Methods

new(_attributes = {}) click to toggle source

@!method initialize(attributes = {}) Initializes the instance

@param [Hash] attributes The custom attributes of the instance

Calls superclass method
# File lib/query_builder/core/base.rb, line 20
def initialize(_attributes = {})
  super
  IceNine.deep_freeze(self)
end

Public Instance Methods

to_s() click to toggle source

@!method to_s Returns the current chunk of CQL statement

@return [String]

@abstract

# File lib/query_builder/core/base.rb, line 32
def to_s
  ""
end