Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

how to create 2 dimensional array in ruby

array = [
  [1, 2, 3, 4],
  [5, 1, 9, 3],
  [6, 5, 1, 2]
]
 
PREVIOUS NEXT
Tagged: #create #dimensional #array #ruby
ADD COMMENT
Topic
Name
4+1 =