lib/geom2d/utils/sorted_linked_list.rb
# Yields each value in sorted order.
#
# If no block is given, an enumerator is returned.
Yields each value in sorted order.
If no block is given, an enumerator is returned.
Yields each value in sorted order . If no block is given an enumerator is returned .
def each 
        return to_enum(__method__) unless block_given?
        current = @anchor.next_node
        while current != @anchor
          yield(current.value)
          current = current.next_node
        end
      end
def each return to_enum ( __method__ ) unless block_given? current = @anchor . next_node while current != @anchor yield ( current . value ) current = current . next_node end end
Yields each value in sorted order.
Yields each value in sorted order .
#:yield: value