D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Integer
/
Filename :
ceildiv-i.ri
back
Copy
U:RDoc::AnyMethod[iI"ceildiv:ETI"Integer#ceildiv;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"9Returns the result of division +self+ by +numeric+. ;TI"'rounded up to the nearest integer.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"3.ceildiv(3) # => 1 ;TI"4.ceildiv(3) # => 2 ;TI" ;TI"4.ceildiv(-3) # => -1 ;TI"-4.ceildiv(3) # => -1 ;TI"-4.ceildiv(-3) # => 2 ;TI" ;TI"3.ceildiv(1.2) # => 3;T:@format0: @fileI"numeric.rb;T:0@omit_headings_from_table_of_contents_below0I"!ceildiv(numeric) -> integer ;T0[ I"(other);T@FI"Integer;TcRDoc::NormalClass00