⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.13
Server IP:
109.199.105.153
Server:
Linux connect.inboxifs.com 5.15.0-152-generic #162-Ubuntu SMP Wed Jul 23 09:48:42 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Time
/
View File Name :
round-i.ri
U:RDoc::AnyMethod[iI" round:ETI"Time#round;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"TRounds 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"1t = Time.utc(2010,3,30, 5,43,25.123456789r) ;TI"Ct #=> 2010-03-30 05:43:25.123456789 UTC ;TI"9t.round #=> 2010-03-30 05:43:25 UTC ;TI"9t.round(0) #=> 2010-03-30 05:43:25 UTC ;TI";t.round(1) #=> 2010-03-30 05:43:25.1 UTC ;TI"<t.round(2) #=> 2010-03-30 05:43:25.12 UTC ;TI"=t.round(3) #=> 2010-03-30 05:43:25.123 UTC ;TI">t.round(4) #=> 2010-03-30 05:43:25.1235 UTC ;TI" ;TI"(t = Time.utc(1999,12,31, 23,59,59) ;TI"9(t + 0.4).round #=> 1999-12-31 23:59:59 UTC ;TI"9(t + 0.49).round #=> 1999-12-31 23:59:59 UTC ;TI"9(t + 0.5).round #=> 2000-01-01 00:00:00 UTC ;TI"9(t + 1.4).round #=> 2000-01-01 00:00:00 UTC ;TI"9(t + 1.49).round #=> 2000-01-01 00:00:00 UTC ;TI"9(t + 1.5).round #=> 2000-01-01 00:00:01 UTC ;TI" ;TI"Ht = Time.utc(1999,12,31, 23,59,59) #=> 1999-12-31 23:59:59 UTC ;TI"L(t + 0.123456789).round(4).iso8601(6) #=> 1999-12-31 23:59:59.1235 UTC;T:@format0: @fileI"time.c;T:0@omit_headings_from_table_of_contents_below0I")time.round([ndigits]) -> new_time ;T0[ I"(*args);T@&FI" Time;TcRDoc::NormalClass00