I want to create a bit, that will contain security permissions for a given user.
In c#, I would do this by creating an enumeration, and then I would do some bit banging on the binary value, by anding '&&' to see if it results in a TRUE value.
How can I do this best in Ruby?