ÿØÿà JFIF ÿÛ „ ( %!1!%*+...983,7(-.-
new-c.ri 0000644 00000001506 15240056066 0006117 0 ustar 00 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 name ;TI"Eparameter may subsequently be examined using the NameError#name ;TI"@method. receiver 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 cdesc-NameError.ri 0000644 00000001710 15240056066 0010054 0 ustar 00 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"#raises the exception:;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"#raises the exception:;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 local_variables-i.ri 0000644 00000000746 15240056066 0010463 0 ustar 00 U:RDoc::AnyMethod[iI"local_variables:ETI"NameError#local_variables;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"BReturn a list of the local variable names defined where this ;TI"$NameError exception was raised.;To:RDoc::Markup::BlankLine o;
; [I"Internal use only.;T:
@fileI"error.c;T:0@omit_headings_from_table_of_contents_below0I"+name_error.local_variables -> array
;T0[ I"();T@FI"NameError;TcRDoc::NormalClass00 name-i.ri 0000644 00000000551 15240056066 0006253 0 ustar 00 U:RDoc::AnyMethod[iI" name:ETI"NameError#name;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I">Return the name associated with this NameError exception.;T:
@fileI"error.c;T:0@omit_headings_from_table_of_contents_below0I"*name_error.name -> string or nil
;T0[ I"();T@FI"NameError;TcRDoc::NormalClass00 receiver-i.ri 0000644 00000000557 15240056066 0007145 0 ustar 00 U:RDoc::AnyMethod[iI"
receiver:ETI"NameError#receiver;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"BReturn the receiver associated with this NameError exception.;T:
@fileI"error.c;T:0@omit_headings_from_table_of_contents_below0I"$name_error.receiver -> object
;T0[ I"();T@FI"NameError;TcRDoc::NormalClass00