Support for the Ruby 2.2 series has ended. See here for reference.
# File rubygems/util/list.rb, line 5 def each n = self while n yield n.value n = n.tail end end
# File rubygems/util/list.rb, line 24 def find n = self while n v = n.value return v if yield(v) n = n.tail end nil end