File: C:/Ruby27-x64/share/ri/2.7.0/system/Gem/Command/deprecate_option-i.ri
U:RDoc::AnyMethod[iI"deprecate_option:ETI""Gem::Command#deprecate_option;TF:publico: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