⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.165
Server IP:
162.254.39.145
Server:
Linux premium289.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Array
/
View File Name :
flatten%21-i.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Flattens <em>self</em> in place. Returns <tt>nil</tt> if no modifications were made (i.e., <em>array</em> contains no subarrays.) If the optional <em>level</em> argument determines the level of recursion to flatten. - !ruby/struct:SM::Flow::VERB body: " a = [ 1, 2, [3, [4, 5] ] ]\n a.flatten! #=> [1, 2, 3, 4, 5]\n a.flatten! #=> nil\n a #=> [1, 2, 3, 4, 5]\n a = [ 1, 2, [3, [4, 5] ] ]\n a.flatten!(1) #=> [1, 2, 3, [4, 5]]\n" full_name: Array#flatten! is_singleton: false name: flatten! params: | array.flatten! -> array or nil array.flatten!(level) -> array or nil visibility: public