U:RDoc::AnyMethod[iI" Integer:ETI"Kernel#Integer;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"5Converts arg to an Integer. ;TI"GNumeric types are converted directly (with floating point numbers ;TI"Kbeing truncated). base (0, or between 2 and 36) is a base for ;TI"Minteger string representation. If arg is a String, ;TI"Bwhen base is omitted or equals zero, radix indicators ;TI"I(0, 0b, and 0x) are honored. ;TI"BIn any case, strings should be strictly conformed to numeric ;TI"=representation. This behavior is different from that of ;TI"MString#to_i. Non string values will be converted by first ;TI"Rtrying to_int, then to_i. Passing nil ;TI"raises a TypeError.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [ I"!Integer(123.999) #=> 123 ;TI" Integer("0x1a") #=> 26 ;TI"(Integer(Time.new) #=> 1204973019 ;TI"!Integer("0930", 10) #=> 930 ;TI"Integer("111", 2) #=> 7 ;TI"&Integer(nil) #=> TypeError;T: @format0: @fileI" object.c;T:0@omit_headings_from_table_of_contents_below0I"(Integer(arg, base=0) -> integer ;T0[I"(p1, p2 = v2);T@!FI" Kernel;TcRDoc::NormalModule00