D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Array
/
Filename :
uniq-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new array by removing duplicate values in <em>self</em>. - !ruby/struct:SM::Flow::VERB body: " a = [ "a", "a", "b", "b", "c" ]\n a.uniq #=> ["a", "b", "c"]\n" full_name: Array#uniq is_singleton: false name: uniq params: | array.uniq -> an_array visibility: public