Bitwise operations in Ruby, and an example application to testing with Rspec
vitobotta.com