Class: CohortScope::StrictCohort

Inherits:
Cohort
  • Object
show all
Defined in:
lib/cohort_scope/strict_cohort.rb

Constant Summary

Constants inherited from Cohort

Cohort::IMPOSSIBLE

Class Method Summary collapse

Methods inherited from Cohort

#expr, #initialize

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