Class: Cats::Core::Plan
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Cats::Core::Plan
- Defined in:
- app/models/cats/core/plan.rb
Constant Summary collapse
- DRAFT =
"Draft".freeze
- APPROVED =
"Approved".freeze
- NEEDS_APPROVED =
"Needs Approved".freeze
- STATUSES =
[DRAFT, APPROVED, NEEDS_APPROVED].freeze
- BELG =
"Belg".freeze
- MEHER =
"Meher".freeze
- ANNUAL =
"Annual".freeze
- SEASONS =
[BELG, MEHER, ANNUAL].freeze
Instance Method Summary collapse
Instance Method Details
#no_of_round_days ⇒ Object
31 32 33 |
# File 'app/models/cats/core/plan.rb', line 31 def no_of_round_days total_days / rounds end |