Class: Matrix

Inherits:
Object
  • Object
show all
Defined in:
lib/oxcelix.rb

Direct Known Subclasses

Oxcelix::Sheet

Instance Method Summary collapse

Instance Method Details

#[]=(i, j, x) ⇒ Object

Set the cell value i,j to x, where i=row, and j=column.

Parameters:

  • i (Integer)

    Row

  • j (Integer)

    Column

  • x (Object)

    New cell value


31
32
33
# File 'lib/oxcelix.rb', line 31

def []=(i, j, x)
  @rows[i][j]=x
end