U:RDoc::AnyMethod[iI"each_with_index:EFI"Matrix#each_with_index;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"QSame as #each, but the row index and column index in addition to the element;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [ I"=Matrix[ [1,2], [3,4] ].each_with_index do |e, row, col| ;TI"% puts "#{e} at #{row}, #{col}" ;TI" end ;TI" # => Prints: ;TI" # 1 at 0, 0 ;TI" # 2 at 0, 1 ;TI" # 3 at 1, 0 ;TI" # 4 at 1, 1;T: @format0: @fileI"lib/matrix.rb;T:0@omit_headings_from_table_of_contents_below00I"e, row, column;F[I"(which = :all);T@FI" Matrix;TcRDoc::NormalClass00