Ruby Rinda::Tuple Functions

EditRocket provides the following information on Rinda::Tuple functions in the Ruby source code builder.

each( {|k, v| ...} - Iterate through the tuple, yielding the index or key, and the value, thus ensuring arrays are iterated similarly to hashes.

fetch(k) - Fetches item k from the tuple.

new(ary_or_hash) - 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