Class: Diagnosis

Inherits:
ActiveRecordShared show all
Defined in:
app/models/diagnosis.rb

Overview

don’t know

Instance Method Summary collapse

Instance Method Details

#is_other?Boolean

Returns boolean of comparison true only if key == ‘other’

Returns:

  • (Boolean)


19
20
21
# File 'app/models/diagnosis.rb', line 19

def is_other?
	key == 'other'
end

#to_sObject

Return description



13
14
15
# File 'app/models/diagnosis.rb', line 13

def to_s
	description
end