Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
self
/
root
/
opt
/
ruby-2.7
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Gem
/
CommandManager
/
//proc/self/root/opt/ruby-2.7/usr/share/ri/2.7.0/system/Gem/CommandManager/cdesc-CommandManager.ri
U:RDoc::NormalClass[iI"CommandManager:ETI"Gem::CommandManager;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"PThe command manager registers and installs all the individual sub-commands ;TI""supported by the gem command.;To:RDoc::Markup::BlankLine o; ;[I"DExtra commands can be provided by writing a rubygems_plugin.rb ;TI"Mfile in an installed gem. You should register your command against the ;TI"-Gem::CommandManager instance, like this:;T@o:RDoc::Markup::Verbatim;[ I"# file rubygems_plugin.rb ;TI"(require 'rubygems/command_manager' ;TI" ;TI"9Gem::CommandManager.instance.register_command :edit ;T:@format0o; ;[I"LYou should put the implementation of your command in rubygems/commands.;T@o;;[ I".# file rubygems/commands/edit_command.rb ;TI"5class Gem::Commands::EditCommand < Gem::Command ;TI" # ... ;TI" end ;T;0o; ;[I"?See Gem::Command for instructions on writing gem commands.;T: @fileI"$lib/rubygems/command_manager.rb;T:0@omit_headings_from_table_of_contents_below0; 0;0[ [U:RDoc::Constant[i I"ALIAS_COMMANDS;TI"(Gem::CommandManager::ALIAS_COMMANDS;T:public0o;;[ ; @*;0@*@cRDoc::NormalClass0[[I"Gem::Text;To;;[ ; I"$lib/rubygems/command_manager.rb;T;0I"'../lib/rubygems/command_manager.rb;T[I"Gem::UserInteraction;To;;[ ; @9;0@:[[I" class;T[[;[[I" instance;T@:[I"new;T@:[I" reset;T@:[:protected[ [:private[ [I" instance;T[[;[[I"[];T@:[I"command_names;T@:[I"find_alias_command;T@:[I"find_command;T@:[I"find_command_possibilities;T@:[I" instance;T@:[I"process_args;T@:[I"register_command;T@:[I"run;T@:[I"unregister_command;T@:[;[ [;[[I"load_and_instantiate;T@:[ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[@9@*cRDoc::TopLevel