⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.116
Server IP:
78.40.11.138
Server:
Linux tango.o2switch.net 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
Numeric
/
Edit File: nonzero%3f-i.ri
U:RDoc::AnyMethod[iI" nonzero?:ETI"Numeric#nonzero?;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"DReturns +self+ if +self+ is not a zero value, +nil+ otherwise; ;TI"3uses method <tt>zero?</tt> for the evaluation.;To:RDoc::Markup::BlankLine o; ; [I"9The returned +self+ allows the method to be chained:;T@o:RDoc::Markup::Verbatim; [I"(a = %w[z Bb bB bb BB a aA Aa AA A] ;TI"Fa.sort {|a, b| (a.downcase <=> b.downcase).nonzero? || a <=> b } ;TI"D# => ["A", "a", "AA", "Aa", "aA", "BB", "Bb", "bB", "bb", "z"] ;T:@format0o; ; [I"/Of the Core and Standard Library classes, ;TI"CInteger, Float, Rational, and Complex use this implementation.;T: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"nonzero? -> self or nil ;T0[ I"();T@FI"Numeric;TcRDoc::NormalClass00
Simpan