Module: OrderQuery::ClassMethods
- Defined in:
- lib/order_query.rb
Overview
Top-level functions.
Instance Method Summary collapse
Instance Method Details
#seek(*spec) ⇒ OrderQuery::Space
34 35 36 37 38 |
# File 'lib/order_query.rb', line 34 def seek(*spec) # allow passing without a splat, as we can easily distinguish spec = spec.first if spec.length == 1 && spec.first.first.is_a?(Array) Space.new(all, spec) end |