Exception: LearnTogether::GroupMakerArgError

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = "must pass arguments of: student collection, groups_of (i.e. groups_of: 4), sort_type (i.e. sort_type: 'random') OR student collection and number of groups (i.e. number_of_groups: 3)") ⇒ GroupMakerArgError

Returns a new instance of GroupMakerArgError.



45
46
47
# File 'lib/learn_together.rb', line 45

def initialize(msg="must pass arguments of: student collection, groups_of (i.e. groups_of: 4), sort_type (i.e. sort_type: 'random') OR student collection and number of groups (i.e. number_of_groups: 3)")
  super
end