DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUBY
ruby array with unique values
array = ['foo', :bar, 'foo', :foobar] array.uniq #=> ["foo", :bar, :foobar]
PREVIOUS
NEXT
Tagged:
#ruby
#array
#unique
#values
ADD COMMENT
Topic
COMMENT
Name
9+2 =
Submit