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
/
NameError
/
//opt/alt/ruby27/share/ri/system/NameError/new-c.ri
U:RDoc::AnyMethod[iI"new:ETI"NameError::new;TT:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"CConstruct a new NameError exception. If given the <i>name</i> ;TI"Eparameter may subsequently be examined using the NameError#name ;TI"@method. <i>receiver</i> parameter allows to pass object in ;TI"2context of which the error happened. Example:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"P[1, 2, 3].method(:rject) # NameError with name "rject" and receiver: Array ;TI"][1, 2, 3].singleton_method(:rject) # NameError with name "rject" and receiver: [1, 2, 3];T:@format0: @fileI"error.c;T:0@omit_headings_from_table_of_contents_below0I"DNameError.new(msg=nil, name=nil, receiver: nil) -> name_error ;T0[ I"(*args, p2 = {});T@FI"NameError;TcRDoc::NormalClass00