Method: MyMatrix#shiftColumn
- Defined in:
- lib/mymatrix.rb
#shiftColumn ⇒ Object
342 343 344 345 346 347 348 349 350 |
# File 'lib/mymatrix.rb', line 342 def shiftColumn() header = @headers.shift column = [] registerMatrix @mx.each do |row| column << row.shift end return header, column end |