Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

ruby remove element from array by value

a = [3, 2, 4, 6, 3, 8]
a.delete(3)
Source by rubysnippets.net #
 
PREVIOUS NEXT
Tagged: #ruby #remove #element #array
ADD COMMENT
Topic
Name
6+5 =