A class based enumerator gem for Rails