Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

class method

Rinda::Tuple.new

new(ary_or_hash)

Creates a new Tuple from ary_or_hash which must be an Array or Hash.

See also #[] #each also in 3.3 · 3.2 · 3.1