union 1.1.0
The union library provides an analog to a C/C++ union for Ruby. In this implementation a union is a kind of struct where multiple members may be defined, but only one member ever contains a non-nil value at any given time.
The union library provides an analog to a C/C++ union for Ruby. In this implementation a union is a kind of struct where multiple members may be defined, but only one member ever contains a non-nil value at any given time.