double_round_robin_schedule

时间:2021-06-28 01:51:24
【文件属性】:
文件名称:double_round_robin_schedule
文件大小:6KB
文件格式:ZIP
更新时间:2021-06-28 01:51:24
Ruby 循环赛 这个小小的 ruby​​ gem 实现了 日程安排。 当您想要一个“每个参赛者依次与所有其他参赛者会面”的比赛,或者如果您有一个学生教室并希望他们成对工作,但每天与不同的合作伙伴一起工作时,这会很有用。 安装 将此行添加到应用程序的 Gemfile 中: gem 'double_round_robin_schedule' 然后执行: $ bundle 或者自己安装: $ gem install double_round_robin_schedule 用法 require "double_round_robin_schedule" # Compute all the possible teams for each day in the classroom playing_teams = %w( team1 team2 team3 team4 ) matches = Do
【文件预览】:
double_round_robin_schedule-master
----.gitignore(154B)
----double_round_robin_schedule.gemspec(1KB)
----README.md(2KB)
----test()
--------test_double_round_robin_schedule.rb(807B)
--------test_helper.rb(154B)
----Gemfile(112B)
----LICENSE.txt(1KB)
----.travis.yml(60B)
----lib()
--------double_round_robin_schedule.rb(1KB)
--------double_round_robin_schedule()
----Rakefile(216B)

网友评论