Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

instance method

Gem::SourceList#append

append(obj)

Appends obj to the end of the source list, moving it if already present. obj may be a Gem::Source, Gem::URI or URI String. Moves obj to the end of the list if already present.

See also #<< #clear .new #delete also in 4.0