Class: JDBCHelper::SQL::Expression
- Inherits:
-
Object
- Object
- JDBCHelper::SQL::Expression
show all
- Defined in:
- lib/jdbc-helper/sql/expression.rb
Overview
Instance Method Summary
collapse
Constructor Details
Returns a new instance of Expression.
78
79
80
|
# File 'lib/jdbc-helper/sql/expression.rb', line 78
def initialize
raise Exception.new("JDBCHelper::SQL::Expression is an abstract class")
end
|
Instance Method Details
#==(other) ⇒ Object
82
83
84
|
# File 'lib/jdbc-helper/sql/expression.rb', line 82
def == other
self.to_s == other.to_s
end
|
#eql?(other) ⇒ Boolean
86
87
88
|
# File 'lib/jdbc-helper/sql/expression.rb', line 86
def eql? other
self.class == other.class && self.to_s == other.to_s
end
|
#hash ⇒ Object
90
91
92
|
# File 'lib/jdbc-helper/sql/expression.rb', line 90
def hash
[self.class, self.to_s].hash
end
|