Sha256: 009d579636536830f98d0241fedc605af2e1f6e9dc6b369ecea135cdfc54dbb8
Contents?: true
Size: 357 Bytes
Versions: 3
Compression:
Stored size: 357 Bytes
Contents
module RubbishCode class DataTable attr_private_accessor :data def initialize(data:) self.data = data end def element(row:, column:) data[row][column] end def columnsCount data[0].size end def rowsCount data.size end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
Web_rubbish_code-1.0.2 | lib/source/data_table.rb |
Web_rubbish_code-1.0.1 | lib/source/data_table.rb |
Web_rubbish_code-1.0.0 | lib/source/data_table.rb |