Advertisement
Guest User

Untitled

a guest
Feb 16th, 2015
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. my_array = Array.new(5, '-') { Array.new(5, '-') }
  2.  
  3. # How iterate through this to make some indices = '*' ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement