data_types
A Ruby gem that adds new object types like pairs and triplets.
Installation
RubyGems
$ gem install data_types
Bundler
Add this line to the application's Gemfile: ruby gem('data_types') 
And then execute: shell $ bundle 
Documentation
See RubyDocs