Skip to content
instance method

Gem::SourceList#prepend

prepend(obj)

Prepends obj to the beginning of the source list which may be a Gem::Source, Gem::URI or URI Moves obj to the beginning of the list if already present. String.

See also #include? #replace #first #to_a also in 4.1