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/cdesc-NameError.ri
U:RDoc::NormalClass[iI"NameError:ET@I"StandardError;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"6Raised when a given name is invalid or undefined.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim;[I"puts foo ;T:@format0o; ;[I"#<em>raises the exception:</em>;T@o;;[I"INameError: undefined local variable or method `foo' for main:Object ;T;0o; ;[I"4Since constant names must start with a capital:;T@o;;[I"#Integer.const_set :answer, 42 ;T;0o; ;[I"#<em>raises the exception:</em>;T@o;;[I"*NameError: wrong constant name answer;T;0: @fileI"error.c;T:0@omit_headings_from_table_of_contents_below0; 0;0[ [ [ [[I" class;T[[:public[ [:protected[ [:private[[I"new;TI"error.c;T[I" instance;T[[;[ [;[ [;[[I"local_variables;T@6[I" name;T@6[I" receiver;T@6[ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[I"error.c;T@&cRDoc::TopLevel