Flowdock
method

each

Importance_1
v1_9_2_180 - Show latest stable - 0 notes - Class: Matrix
each() public

Yields all elements of the matrix, starting with those of the first row, or returns an Enumerator is no block given

Matrix[ [1,2], [3,4] ].each { |e| puts e }
  # => prints the numbers 1 to 4
Show source
Register or log in to add new notes.