A simple implementation of a bit fields attribute for Ruby objects.