Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Gem
/
Command
/
//opt/alt/ruby27/share/ri/system/Gem/Command/deprecate_option-i.ri
U:RDoc::AnyMethod[iI"deprecate_option:ETI""Gem::Command#deprecate_option;TF:privateo:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"HMark a command-line option as deprecated, and optionally specify a ;TI"deprecation horizon.;To:RDoc::Markup::BlankLine o; ; [I"RNote that with the current implementation, every version of the option needs ;TI"Fto be explicitly deprecated, so to deprecate an option defined as;T@o:RDoc::Markup::Verbatim; [I"Jadd_option('-t', '--[no-]test', 'Set test mode') do |value, options| ;TI" # ... stuff ... ;TI" end ;T:@format0o; ; [I"Myou would need to explicitly add a call to `deprecate_option` for every ;TI"6version of the option you want to deprecate, like;T@o;; [I"deprecate_option('-t') ;TI" deprecate_option('--test') ;TI""deprecate_option('--no-test');T; 0: @fileI"lib/rubygems/command.rb;T:0@omit_headings_from_table_of_contents_below000[ I")(name, version: nil, extra_msg: nil);T@"FI"Command;TcRDoc::NormalClass00