Class: Effective::CpdTarget

Inherits:
ActiveRecord::Base
  • Object
show all
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_sObject



28
29
30
# File 'app/models/effective/cpd_target.rb', line 28

def to_s
  score&.to_s || model_name.human
end