osem
https://github.com/opensuse/osem
Ruby
Open Source Event Manager. An event management tool tailored to Free and Open Source Software conferences.
Event#voted?
Checks if the event has votes If a user is provided, it checks if the event has votes by the user ====Returns * +true+ -> If the event has votes (optionally, by the user) * +false+ -> If the event does not have any votes (optionally, by the user)
Edit
git clone [email protected]:opensuse/osem.git
cd osem
open app/models/event.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Event-voted--for-pr
# Commit to gitgit add app/models/event.rbgit commit -m "better docs for Event#voted?"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Event-voted--for-pr
hub pull-request
# Celebrate!