osem

https://github.com/opensuse/osem

Ruby

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

Conference#get_events_per_week_by_state

Returns a Hash with the events with the state confirmend / unconfirmed per week.

====Returns
* +Hash+ -> e.g. 'Confirmed' => { 3 => 5, 4 => 6 }

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-get_events_per_week_by_state-for-pr


# Commit to git

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


# 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-get_events_per_week_by_state-for-pr

hub pull-request


# Celebrate!