Can somebody please tell me how to declare a new instance of a 2-dimensional array? Most of the languages use something like:
array = Array.new[2][2]
I don't know how to do it in Ruby.