Exception: LearnTogether::StudentTypeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/learn_together.rb

Instance Method Summary collapse

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_together.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