method
fetch_specs
v2_2_9 -
Show latest stable
- Class:
Gem::Commands::DependencyCommand
fetch_specs(dependency)public
No documentation available.
# File lib/rubygems/commands/dependency_command.rb, line 64
def fetch_specs dependency # :nodoc:
specs = []
specs.concat dependency.matching_specs if local?
specs.concat fetch_remote_specs dependency if remote?
ensure_specs specs
specs.uniq.sort
end