Class: SubjectRelationship
- Inherits:
-
ActiveRecordShared
- Object
- ActiveRecord::Base
- ActiveRecordShared
- SubjectRelationship
- Defined in:
- app/models/subject_relationship.rb
Instance Method Summary collapse
-
#is_other? ⇒ Boolean
Returns boolean of comparison true only if key == ‘other’.
-
#to_s ⇒ Object
Returns description.
Instance Method Details
#is_other? ⇒ Boolean
Returns boolean of comparison true only if key == ‘other’
17 18 19 |
# File 'app/models/subject_relationship.rb', line 17 def is_other? key == 'other' end |
#to_s ⇒ Object
Returns description
11 12 13 |
# File 'app/models/subject_relationship.rb', line 11 def to_s description end |