Sha256: 64e8c5f3a5598b99b6f61b87ff0c97e43248d0d59c25a84941365a7fb59d0e37
Contents?: true
Size: 513 Bytes
Versions: 1
Compression:
Stored size: 513 Bytes
Contents
#require 'data_type' module TransformXlsx class SingleDimensional < DataType # hash[sheet_name] = [[col1,col2,col3], [val1,val2,val3], [val1,val2,val3]] #Go through each row and set first element in row as column, and rest of elements as values corresponding # to each element in first row . data(r,c) = value def initialize file_path, sheet_number, start_row super(file_path, sheet_number, start_row) end def process_data @data end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
transform_xlsx-0.0.1 | lib/transform_xlsx/single_dimensional.rb |