method

from

ruby latest stable - Class: Gem::SourceList
from(ary)
public

Creates a new SourceList from an array of sources.