Method: Censive#read

Defined in:
lib/censive.rb

#readObject

[ Reader ]==



129
130
131
132
133
134
135
136
137
138
# File 'lib/censive.rb', line 129

def read
  @rows = []
  while row = next_row
    @rows << row
    count = row.size
    @cols = count if count > @cols
    @cells += count
  end
  self
end