Class: Diagnosis
- Inherits:
-
ActiveRecordShared
- Object
- ActiveRecord::Base
- ActiveRecordShared
- Diagnosis
- Defined in:
- app/models/diagnosis.rb
Overview
don’t know
Instance Method Summary collapse
-
#is_other? ⇒ Boolean
Returns boolean of comparison true only if key == ‘other’.
-
#to_s ⇒ Object
Return description.
Instance Method Details
#is_other? ⇒ Boolean
Returns boolean of comparison true only if key == ‘other’
19 20 21 |
# File 'app/models/diagnosis.rb', line 19 def is_other? key == 'other' end |
#to_s ⇒ Object
Return description
13 14 15 |
# File 'app/models/diagnosis.rb', line 13 def to_s description end |