Class: Effective::CpdTarget
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Effective::CpdTarget
- Defined in:
- app/models/effective/cpd_target.rb
Constant Summary collapse
- REQUIRED_TO_SUBMIT =
[["A minimum score is required to submit", true], ["Can submit with any score", false]]
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
28 29 30 |
# File 'app/models/effective/cpd_target.rb', line 28 def to_s score&.to_s || model_name.human end |