method

replace

ruby latest stable - Class: Gem::SourceList
replace(other)
public

Replaces this SourceList with the sources in other See #<< for acceptable items in other.