Class: LineMatrixParser

Inherits:
Base
  • Object
show all
Defined in:
lib/parser/line_matrix.rb

Instance Method Summary collapse

Methods inherited from Base

get_sheet_name, #initialize, #reload_sheet, sheet_name, #to_json

Constructor Details

This class inherits a constructor from Base

Instance Method Details

#parse_sheetObject



4
5
6
# File 'lib/parser/line_matrix.rb', line 4

def parse_sheet
  { lines: @sheet.to_matrix(4, 2, nil, 6).to_a.each(&:compact!) }
end