avl_tree icon indicating copy to clipboard operation
avl_tree copied to clipboard

Enumerator.new -> .to_enum to avoid deprecation messages

Open evg2108 opened this issue 8 years ago • 1 comments
trafficstars

evg2108 avatar Oct 06 '17 09:10 evg2108

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.

boutil avatar Nov 24 '21 21:11 boutil

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.

nahi avatar Dec 02 '22 02:12 nahi