⚝
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
/
Kernel
/
View File Name :
Rational-i.ri
U:RDoc::AnyMethod[iI" Rational:ETI"Kernel#Rational;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"*Returns +x/y+ or +arg+ as a Rational.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I" Rational(2, 3) #=> (2/3) ;TI" Rational(5) #=> (5/1) ;TI" Rational(0.5) #=> (1/2) ;TI"?Rational(0.3) #=> (5404319552844595/18014398509481984) ;TI" ;TI" Rational("2/3") #=> (2/3) ;TI"!Rational("0.3") #=> (3/10) ;TI" ;TI"-Rational("10 cents") #=> ArgumentError ;TI")Rational(nil) #=> TypeError ;TI")Rational(1, nil) #=> TypeError ;TI" ;TI"5Rational("10 cents", exception: false) #=> nil ;T:@format0o; ; [I"Syntax of the string form:;T@o;; [I"
rational or nil Rational(arg, exception: true) -> rational or nil ;T0[ I"(p1, p2 = v2, p3 = {});T@1FI"Kernel;TcRDoc::NormalModule00