⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Time
/
Edit File: ceil-i.ri
U:RDoc::AnyMethod[iI" ceil:ETI"Time#ceil;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"SCeils subsecond to a given precision in decimal digits (0 digits by default). ;TI"#It returns a new Time object. ;TI"4+ndigits+ should be zero or a positive integer.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"2t = Time.utc(2010,3,30, 5,43,25.0123456789r) ;TI"Nt #=> 2010-03-30 05:43:25 123456789/10000000000 UTC ;TI"8t.ceil #=> 2010-03-30 05:43:26 UTC ;TI"8t.ceil(0) #=> 2010-03-30 05:43:26 UTC ;TI":t.ceil(1) #=> 2010-03-30 05:43:25.1 UTC ;TI";t.ceil(2) #=> 2010-03-30 05:43:25.02 UTC ;TI"<t.ceil(3) #=> 2010-03-30 05:43:25.013 UTC ;TI"=t.ceil(4) #=> 2010-03-30 05:43:25.0124 UTC ;TI" ;TI"(t = Time.utc(1999,12,31, 23,59,59) ;TI"8(t + 0.4).ceil #=> 2000-01-01 00:00:00 UTC ;TI"8(t + 0.9).ceil #=> 2000-01-01 00:00:00 UTC ;TI"8(t + 1.4).ceil #=> 2000-01-01 00:00:01 UTC ;TI"8(t + 1.9).ceil #=> 2000-01-01 00:00:01 UTC ;TI" ;TI"(t = Time.utc(1999,12,31, 23,59,59) ;TI"@(t + 0.123456789).ceil(4) #=> 1999-12-31 23:59:59.1235 UTC;T:@format0: @fileI"time.c;T:0@omit_headings_from_table_of_contents_below0I"(time.ceil([ndigits]) -> new_time ;T0[ I"(*args);T@$FI" Time;TcRDoc::NormalClass00
Simpan