Class: SubjectType

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

Overview

requires

* description ( unique and > 3 chars )

Instance Method Summary collapse

Instance Method Details

#nameObject

Returns description



18
19
20
# File 'app/models/subject_type.rb', line 18

def name
	description
end

#to_sObject

Returns description



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

def to_s
	description
end