Class: DB::Model::Statement::Predicate::Empty
- Inherits:
-
Object
- Object
- DB::Model::Statement::Predicate::Empty
- Defined in:
- lib/db/model/statement/predicate.rb
Instance Method Summary collapse
Instance Method Details
#+(other) ⇒ Object
34 35 36 |
# File 'lib/db/model/statement/predicate.rb', line 34 def + other other end |
#append_to(statement) ⇒ Object
30 31 32 |
# File 'lib/db/model/statement/predicate.rb', line 30 def append_to(statement) statement.literal(true) end |
#eql?(other) ⇒ Boolean
38 39 40 |
# File 'lib/db/model/statement/predicate.rb', line 38 def eql?(other) self.class.eql?(other.class) end |
#hash ⇒ Object
42 43 44 |
# File 'lib/db/model/statement/predicate.rb', line 42 def hash self.class.hash end |