Module: Gem::Sources

Included in:
Commands::CheckSourcesCommand, List
Defined in:
lib/gem_check_sources/sources.rb

Defined Under Namespace

Classes: List

Instance Method Summary collapse

Instance Method Details

#currently_loaded_sourcesObject



6
7
8
# File 'lib/gem_check_sources/sources.rb', line 6

def currently_loaded_sources
  `gem sources`.split("\n").select { |s| /http/ =~ s }
end