classroom
https://github.com/education/classroom
Ruby
GitHub Classroom automates repository creation and access control, making it easy for teachers to distribute starter code and collect assignments on GitHub.
GitHubModel#github_type
Internal: Get the resource type for the model Example: GitHubUser -> :user Returns a Symbol.
Edit
git clone [email protected]:education/classroom.git
cd classroom
open app/models/github_model.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-GitHubModel-github_type-for-pr
# Commit to gitgit add app/models/github_model.rbgit commit -m "better docs for GitHubModel#github_type"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-GitHubModel-github_type-for-pr
hub pull-request
# Celebrate!