%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Kernel/
Upload File :
Create Path :
Current File : //proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Kernel/Integer-i.ri

U:RDoc::AnyMethod[iI"Integer:ETI"Kernel#Integer;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"5Converts <i>arg</i> to an <code>Integer</code>. ;TI"GNumeric types are converted directly (with floating point numbers ;TI"Kbeing truncated).  <i>base</i> (0, or between 2 and 36) is a base for ;TI"Minteger string representation.  If <i>arg</i> is a <code>String</code>, ;TI"Bwhen <i>base</i> is omitted or equals zero, radix indicators ;TI"I(<code>0</code>, <code>0b</code>, and <code>0x</code>) are honored. ;TI"BIn any case, strings should be strictly conformed to numeric ;TI"=representation. This behavior is different from that of ;TI"M<code>String#to_i</code>.  Non string values will be converted by first ;TI"Rtrying <code>to_int</code>, then <code>to_i</code>. Passing <code>nil</code> ;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

Zerion Mini Shell 1.0