| Server IP : 162.214.74.102 / Your IP : 216.73.217.46 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Kernel/ |
Upload File : |
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::BlankLine o: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