⚝
One Hat Cyber Team
⚝
Your IP:
160.79.110.218
Server IP:
162.254.39.145
Server:
Linux premium289.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Numeric
/
View File Name :
nonzero%3f-i.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns <em>num</em> if <em>num</em> is not zero, <tt>nil</tt> otherwise. This behavior is useful when chaining comparisons:" - !ruby/struct:SM::Flow::VERB body: " a = %w( z Bb bB bb BB a aA Aa AA A )\n b = a.sort {|a,b| (a.downcase <=> b.downcase).nonzero? || a <=> b }\n b #=> ["A", "a", "AA", "Aa", "aA", "BB", "Bb", "bB", "bb", "z"]\n" full_name: Numeric#nonzero? is_singleton: false name: nonzero? params: | num.nonzero? => num or nil visibility: public