Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

how to call the last array in ruby

array = [1, 2, 3]
array[-1]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #call #array #ruby
ADD COMMENT
Topic
Name
7+8 =