Skip to content

Auto draft is a simple program that creates teams from a list of items.

Notifications You must be signed in to change notification settings

mestopensource/autodraft

Repository files navigation

auto_draft Gem Version

Auto draft is a simple ruby gem that creates teams from a list of items. You can use this program to form a group of any number from a list of names.

For example, you can use this programme to form groups of 3 members from a list of 19 names.

How to use it.

1 Install the auto_draft gem by running
$ gem install auto_draft   

Gem Version

2 Create a list of items, store in a .txt file and save in a folder.
3 Each item on the list should be on a new line. The content of your file should look like this..
First Item
Second Item 
Third Item
4 Create a new ruby file in the same folder.
5 Open the ruby file in any editor and the following add to the beginning of the file.
require 'auto_draft'
6 Create an instance of the GroupCreator class in the Teampairing module like this.
new_task = TeamPairing::GroupCreator.new
7 Call the form_teams method on the variable and pass in the filename and the numbers of members per team as the parameters.
new_task.form_teams('your_filename.txt', 3)
8 Run the ruby file. Thats it... 😀

Sublime Text = Windows = Ctrl B Mac = Cmd B

Contributing to AutoDraft

Pull requests for bug fixes and new features are eagerly accepted.

This gem was written by students of MEST(Meltwater Entreprenueral School of Technology).

About

Auto draft is a simple program that creates teams from a list of items.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages