Binary notation and bitshift for Ruby