Class: OldSchool::SectionEnrollment
- Inherits:
-
Object
- Object
- OldSchool::SectionEnrollment
- Defined in:
- lib/old_school/models/section_enrollment.rb
Instance Method Summary collapse
Instance Method Details
#future? ⇒ Boolean
15 16 17 18 |
# File 'lib/old_school/models/section_enrollment.rb', line 15 def future? return true if entry_date > Date.today return false end |
#past? ⇒ Boolean
20 21 22 23 |
# File 'lib/old_school/models/section_enrollment.rb', line 20 def past? return true if exit_date > Date.today return false end |