method

remove_source

Importance_0
v2_4_6 - Show latest stable - 0 notes - Class: SourcesCommand
remove_source(source_uri) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/commands/sources_command.rb, line 178
  def remove_source source_uri # :nodoc:
    unless Gem.sources.include? source_uri then
      say "source #{source_uri} not present in cache"
    else
      Gem.sources.delete source_uri
      Gem.configuration.write

      say "#{source_uri} removed from sources"
    end
  end
Register or log in to add new notes.