Module: CohortAnalysis::ArelSelectManagerInstanceMethods
- Defined in:
- lib/cohort_analysis/arel_select_manager_instance_methods.rb
Instance Method Summary collapse
- #cohort(characteristics, options = {}) ⇒ Arel::SelectManager
-
#cohort_possible? ⇒ true, ...
If a cohort has been constructed using this Arel::SelectManager, then this will tell you whether it was successful (posssible) or not.
Instance Method Details
#cohort(characteristics, options = {}) ⇒ Arel::SelectManager
4 5 6 |
# File 'lib/cohort_analysis/arel_select_manager_instance_methods.rb', line 4 def cohort(characteristics, = {}) where Strategy.create(self, characteristics, ) end |
#cohort_possible? ⇒ true, ...
If a cohort has been constructed using this Arel::SelectManager, then this will tell you whether it was successful (posssible) or not.
10 11 12 |
# File 'lib/cohort_analysis/arel_select_manager_instance_methods.rb', line 10 def cohort_possible? @cohort_possible_query end |