Sha256: 9af5a0ab53062ee5f64d3ab327941729485a60c5f65485d9ee27e6ed4e6f507d
Contents?: true
Size: 282 Bytes
Versions: 14
Compression:
Stored size: 282 Bytes
Contents
class DataTable attr_accessor :data def initialize(data) self.data = data end def get_cell(row,col) self.data[row][col] end def num_columns self.data[0].length end def num_rows self.data.length end def to_2d_array data.dup end end
Version data entries
14 entries across 14 versions & 5 rubygems