method

clear

ruby latest stable - Class: Gem::SourceList
clear()
public

Removes all sources from the SourceList.