lib/ordered_list/position/intermediable.rb
# Returns true iff the given enum has reached the end.
Returns true iff the given enum has reached the end.
Returns true iff the given enum has reached the end .
def enum_end?(enum)
        enum.peek
        false
      rescue
        true
      end
def enum_end? ( enum ) enum . peek false rescue true end
Returns true iff the given enum has reached the end.
Returns true iff the given enum has reached the end .
enum