title: Using Tuples in Ruby?
body: <p>Does anyone use tuples in Ruby? If so, how may one implement a tuple? Ruby hashes are nice and work almost as well, but I'd really like to see something like the Tuple class in Python, where you can use <code>.</code> notation to find the value for which you are looking. I'm wanting this so that I can create an implementation of <a href="https://rads.stackoverflow.com/amzn/click/com/0321399420" rel="noreferrer" rel="nofollow noreferrer">D</a>, similar to <a href="http://www.quicksort.co.uk/" rel="noreferrer">Dee</a> for Python.</p>