Class: Cuprum::Collections::Basic::QueryBuilder
- Inherits:
-
QueryBuilder
- Object
- QueryBuilder
- Cuprum::Collections::Basic::QueryBuilder
- Defined in:
- lib/cuprum/collections/basic/query_builder.rb
Overview
Concrete implementation of QueryBuilder for a basic query.
Instance Attribute Summary
Attributes inherited from QueryBuilder
Instance Method Summary collapse
-
#initialize(base_query) ⇒ QueryBuilder
constructor
A new instance of QueryBuilder.
Methods inherited from QueryBuilder
Constructor Details
#initialize(base_query) ⇒ QueryBuilder
Returns a new instance of QueryBuilder.
11 12 13 14 15 |
# File 'lib/cuprum/collections/basic/query_builder.rb', line 11 def initialize(base_query) super @filters = base_query.send(:filters) end |