D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Integer
/
Filename :
coerce-i.ri
back
Copy
U:RDoc::AnyMethod[iI"coerce:ETI"Integer#coerce;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"GReturns an array with both a +numeric+ and a +int+ represented as ;TI"&Integer objects or Float objects.;To:RDoc::Markup::BlankLine o; ; [I"GThis is achieved by converting +numeric+ to an Integer or a Float.;T@o; ; [I"IA TypeError is raised if the +numeric+ is not an Integer or a Float ;TI" type.;T@o:RDoc::Markup::Verbatim; [I"F(0x3FFFFFFFFFFFFFFF+1).coerce(42) #=> [42, 4611686018427387904];T:@format0: @fileI" bignum.c;T:0@omit_headings_from_table_of_contents_below0I"$int.coerce(numeric) -> array ;T0[ I" (p1);T@FI"Integer;TcRDoc::NormalClass00