D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Module
/
Filename :
deprecate_constant-i.ri
back
Copy
U:RDoc::AnyMethod[iI"deprecate_constant:ETI"Module#deprecate_constant;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"<Makes a list of existing constants deprecated. Attempt ;FI"-to refer to them will produce a warning.;Fo:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"module HTTP ;TI" NotFound = Exception.new ;TI"M NOT_FOUND = NotFound # previous version of the library used this name ;TI" ;TI"% deprecate_constant :NOT_FOUND ;TI" end ;TI" ;TI"HTTP::NOT_FOUND ;TI"6# warning: constant HTTP::NOT_FOUND is deprecated;T:@format0: @fileI" object.c;T:0@omit_headings_from_table_of_contents_below0I"3mod.deprecate_constant(symbol, ...) => mod ;F0[ I"(*args);T@FI"Module;TcRDoc::NormalClass00