Class: Gaku::CourseEnrollment
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Gaku::CourseEnrollment
- Defined in:
- app/models/gaku/course_enrollment.rb
Instance Method Summary collapse
Instance Method Details
#code_with_syllabus_name ⇒ Object
15 16 17 |
# File 'app/models/gaku/course_enrollment.rb', line 15 def code_with_syllabus_name course.decorate.code_with_syllabus_name if course end |
#course_id ⇒ Object
19 20 21 |
# File 'app/models/gaku/course_enrollment.rb', line 19 def course_id course.id if course end |