Class: SQLParser::Statement::String

Inherits:
Literal show all
Defined in:
lib/sql-parser/statement.rb

Instance Attribute Summary

Attributes inherited from Literal

#value

Instance Method Summary collapse

Methods inherited from Literal

#initialize

Methods inherited from Node

#accept, #to_sql

Constructor Details

This class inherits a constructor from SQLParser::Statement::Literal

Instance Method Details

#+(other) ⇒ Object



531
532
533
# File 'lib/sql-parser/statement.rb', line 531

def +(other)
  self.class.new(@value + other.value)
end