Method: Condition::Reader::RooReader#read
- Defined in:
- lib/condition/reader/roo_reader.rb
#read(ss) ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/condition/reader/roo_reader.rb', line 13 def read(ss) row_index = 1 res = [] while true break if nil == ss.cell(row_index, 1) table = [] while true row = read_row(ss, row_index) row_index += 1 break if 0 == row.size table << row end res << table end res end |