Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

.delete ruby

health_nuts = ["walnuts","pecans","peanuts","cheeseburger","pistachios"]
health_nuts.delete("cheeseburger")
# => ["walnuts", "pecans", "peanuts", "pistachios"]
 
PREVIOUS NEXT
Tagged: #ruby
ADD COMMENT
Topic
Name
6+2 =