osem
https://github.com/opensuse/osem
Ruby
Open Source Event Manager. An event management tool tailored to Free and Open Source Software conferences.
Conference#hours_from_start_time
Returns the number of hours since the conference start hour (9) to the current hour, in case that the current hour is beetween the start and the end hour (20). Otherwise, returns 0
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-hours_from_start_time-for-pr
# Commit to gitgit add app/models/conference.rbgit commit -m "better docs for Conference#hours_from_start_time"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Conference-hours_from_start_time-for-pr
hub pull-request
# Celebrate!