makersquare/ruby-course — pull request #12 by mithipati (2014-02-12 00:09:51+00:00)
Title: Bar Project - Neil Mithipati

For the exempt method:
I added a @status instance variable to the Item class, not the Bar class, with a default value of 'available'. Any time the #exempt method was called that status would change to 'exempt'.

For purchases and most popular methods:
I added a hash to keep a record of each drink purchased. The key was the drink object itself and the value was a counter that got incremented by one every time it was purchased.