osem
https://github.com/opensuse/osem
Ruby
Open Source Event Manager. An event management tool tailored to Free and Open Source Software conferences.
Conference#calculate_track_distribution_hash
Helper method to calculate the correct data format for the doughnut charts
for track distribution of events.
====Returns
* +hash+ -> object_type => {color, value}Edit
git clone [email protected]:opensuse/osem.git
cd osem
open app/models/conference.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Conference-calculate_track_distribution_hash-for-pr
# Commit to gitgit add app/models/conference.rbgit commit -m "better docs for Conference#calculate_track_distribution_hash"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Conference-calculate_track_distribution_hash-for-pr
hub pull-request
# Celebrate!