The documentation is incorrect. If you look at the file matrix.rbwith 1.9.1, you will see the following:
def []=(i, j, v)
@rows[i][j] = v
end
alias set_element []=
alias set_component []=
private :[]=, :set_element, :set_component
Thus, there are three methods, but they are explicitly defined as private.
, , , . , , , -, ; , rdoc, .
, Matrix , Fixnum Number.