DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUBY
ruby unshift method
irb>> a = [ 0, 1, 2] => [0, 1, 2] irb>> a.unshift('x') => ["x", 0, 1, 2]
PREVIOUS
NEXT
Tagged:
#ruby
#unshift
#method
ADD COMMENT
Topic
COMMENT
Name
5+6 =
Submit