Class: WorkTogether::Group
- Inherits:
-
Object
- Object
- WorkTogether::Group
- Defined in:
- lib/work_together.rb
Class Method Summary collapse
Class Method Details
.display_groups ⇒ Object
99 100 101 102 103 104 105 106 107 |
# File 'lib/work_together.rb', line 99 def self.display_groups Table.all.each_with_index do |table, i| puts "Group #{i + 1}:".colorize(:blue) table.students.each do |student| puts student.name.colorize(:light_blue) end puts "-------------------".colorize(:blue) end end |