method

include?

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

Returns true if this source list includes other which may be a Gem::Source or a source URI.