DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUBY
ruby delete first element of array
a = [0,1,2,3] a.drop(1) # => [1, 2, 3] a # => [0,1,2,3]
PREVIOUS
NEXT
Tagged:
#ruby
#delete
#element
#array
ADD COMMENT
Topic
COMMENT
Name
3+7 =
Submit