Class: Effective::CpdAuditLevel

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/effective/cpd_audit_level.rb

Instance Method Summary collapse

Instance Method Details

#determinationsObject



78
79
80
# File 'app/models/effective/cpd_audit_level.rb', line 78

def determinations
  Array(self[:determinations]) - [nil, '']
end

#recommendationsObject



82
83
84
# File 'app/models/effective/cpd_audit_level.rb', line 82

def recommendations
  Array(self[:recommendations]) - [nil, '']
end

#to_sObject



74
75
76
# File 'app/models/effective/cpd_audit_level.rb', line 74

def to_s
  title.presence || 'audit level'
end