A Ruby analogue of a C union