Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Rinda::Tuple.new
new(ary_or_hash)
lib/rinda/rinda.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rinda/rinda.rb, line 53
def initialize(ary_or_hash)
if hash?(ary_or_hash)
init_with_hash(ary_or_hash)
else
init_with_ary(ary_or_hash)
end
end