Class: Perpetuity::NilQuery
- Inherits:
-
Object
- Object
- Perpetuity::NilQuery
- Defined in:
- lib/perpetuity/mongodb/nil_query.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.new ⇒ Object
3 4 5 |
# File 'lib/perpetuity/mongodb/nil_query.rb', line 3 def self.new @instance ||= allocate end |
Instance Method Details
#to_db ⇒ Object
7 8 9 |
# File 'lib/perpetuity/mongodb/nil_query.rb', line 7 def to_db {} end |