Provides an easy way for dealing with bit fields in a ruby object