RubyGems.org

union

1.0.2

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.

installgem install union -v 1.0.2
Authors

Daniel J. Berger

3,160 total downloads 885 for this version
Owners

Aee77dba395ece0a04c688b05b07cd6318813f71506ebad74179bf8c5a136696

Gemfile
gem "union", "~> 1.0.2"
Versions
  1. 1.0.3 September 23, 2011
  2. 1.0.2 October 3, 2009
  3. 1.0.1 July 31, 2009
  4. 1.0.0 June 10, 2008