instance method
Gem::Commands::YankCommand#execute
execute
lib/rubygems/commands/yank_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/commands/yank_command.rb, line 48
def execute
@host = options[:host]
sign_in @host, scope: get_yank_scope
version = get_version_from_requirements(options[:version])
platform = get_platform_from_requirements(options)
if version
yank_gem(version, platform)
else
say "A version argument is required: #{usage}"
terminate_interaction
end
end
No documentation available
See also
.new
#get_version_from_requirements
#get_yank_scope
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0