Class: CohortScope::StrictCohort
- Defined in:
- lib/cohort_scope/strict_cohort.rb
Constant Summary
Constants inherited from Cohort
Class Method Summary collapse
-
.reduce_characteristics(active_record, characteristics) ⇒ Object
Reduce characteristics by removing the least important one.
Methods inherited from Cohort
Constructor Details
This class inherits a constructor from CohortScope::Cohort
Class Method Details
.reduce_characteristics(active_record, characteristics) ⇒ Object
Reduce characteristics by removing the least important one.
4 5 6 |
# File 'lib/cohort_scope/strict_cohort.rb', line 4 def self.reduce_characteristics(active_record, characteristics) characteristics[0..-2] end |