Module: AhoyCaptain::LazyComparableQuery
- Included in:
- Stats::BaseQuery
- Defined in:
- app/queries/concerns/ahoy_captain/lazy_comparable_query.rb
Defined Under Namespace
Classes: LazyComparison
Instance Method Summary collapse
Instance Method Details
#with_lazy_comparison(enabled = false) ⇒ Object
34 35 36 37 38 39 40 |
# File 'app/queries/concerns/ahoy_captain/lazy_comparable_query.rb', line 34 def with_lazy_comparison(enabled = false) if enabled LazyComparison.new(self) else self end end |