avl_tree
avl_tree copied to clipboard
Enumerator.new -> .to_enum to avoid deprecation messages
trafficstars
Hi,
This is now creating errors in the test suite with Ruby3.0, as the deprecated syntax for the Enumerator constructor is gone. This is found in Debian for example here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996127 The bug is solved with the very same patch as provided in this pull request.
Thanks for the patch. Let me close it without merging in favor or https://github.com/nahi/avl_tree/pull/10 which was submitted 2 years before. Sorry for the late ack.