D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
ArgumentError
/
Filename :
cdesc-ArgumentError.ri
back
Copy
U:RDoc::NormalClass[iI"ArgumentError:ET@I"StandardError;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"IRaised when the arguments are wrong and there isn't a more specific ;TI"Exception class.;To:RDoc::Markup::BlankLine o; ;[I".Ex: passing the wrong number of arguments;T@o:RDoc::Markup::Verbatim;[I"[1, 2, 3].first(4, 5) ;T:@format0o; ;[I"#<em>raises the exception:</em>;T@o;;[I"DArgumentError: wrong number of arguments (given 2, expected 1) ;T;0o; ;[I"4Ex: passing an argument that is not acceptable:;T@o;;[I"[1, 2, 3].first(-4) ;T;0o; ;[I"#<em>raises the exception:</em>;T@o;;[I"'ArgumentError: negative array size;T;0: @fileI"error.c;T:0@omit_headings_from_table_of_contents_below0; 0;0[ [ [ [[I" class;T[[:public[ [:protected[ [:private[ [I" instance;T[[;[ [;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[@*@*cRDoc::TopLevel