RubyGems.org

union

1.0.3

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
Authors

Daniel J. Berger

4,925 total downloads 1,260 for this version
Owners

Aee77dba395ece0a04c688b05b07cd6318813f71506ebad74179bf8c5a136696

Gemfile
gem 'union', '~> 1.0.3'
Versions
  1. 1.0.3 September 23, 2011 (5.5 KB)
  2. 1.0.2 October 3, 2009 (5.5 KB)
  3. 1.0.1 July 31, 2009 (5 KB)
  4. 1.0.0 June 10, 2008 (5.5 KB)