osem

https://github.com/opensuse/osem

Ruby

Open Source Event Manager. An event management tool tailored to Free and Open Source Software conferences.

Conference#registration_open?

Checks if the registration for the conference is currently open

====Returns
* +false+ -> If the conference dates are not set or today isn't in the
  registration period.
* +true+ -> If today is in the registration period.

Source | Google | Stack overflow

Edit

git clone [email protected]:opensuse/osem.git

cd osem

open app/models/conference.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Conference-registration_open--for-pr


# Commit to git

git add app/models/conference.rbgit commit -m "better docs for Conference#registration_open?"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Conference-registration_open--for-pr

hub pull-request


# Celebrate!