Exception: LearnParty::StudentTypeError
- Inherits:
-
StandardError
- Object
- StandardError
- LearnParty::StudentTypeError
- Defined in:
- lib/learn_party.rb
Instance Method Summary collapse
-
#initialize(msg = "student collection must contain student objects that respond to a #completed_lesson_count_for_active_track method or have a key of :completed_lesson_count_for_active_track_count") ⇒ StudentTypeError
constructor
A new instance of StudentTypeError.
Constructor Details
#initialize(msg = "student collection must contain student objects that respond to a #completed_lesson_count_for_active_track method or have a key of :completed_lesson_count_for_active_track_count") ⇒ StudentTypeError
Returns a new instance of StudentTypeError.
77 78 79 |
# File 'lib/learn_party.rb', line 77 def initialize(msg="student collection must contain student objects that respond to a #completed_lesson_count_for_active_track method or have a key of :completed_lesson_count_for_active_track_count") super end |