method

find

Importance_0
v2_2_9 - Show latest stable - 0 notes - Class: List
find() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/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
Register or log in to add new notes.