A tuple is the elementary object in Rinda programming. Tuples may be
matched against templates if the tuple and the template are the same size.
| Public Methods |
| [] |
Accessor method for elements of the tuple.
|
| each |
Iterate through the tuple, yielding the index or key, and the value, thus
ensuring arrays are iterated similarly to hashes.
|
| fetch |
Fetches item k from the tuple.
|
| new |
Creates a new Tuple from ary_or_hash which must be an Array or
Hash.
|
| size |
The number of elements in the tuple.
|
| value |
Return the tuple itself
|
<code/>and<pre/>for code samples.