# File lib/extras/as_rectarray.rb, line 77 def index(row, col) return (row%@rows) + (col%@cols)*@rows end