class method
Gem::Commands::ServerCommand.new
new
lib/rubygems/commands/server_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/commands/server_command.rb, line 7
def initialize
super("server", "Starts up a web server that hosts the RDoc (requires rubygems-server)")
begin
Gem::Specification.find_by_name("rubygems-server").activate
rescue Gem::LoadError
# no-op
end
end
No documentation available