Describes a row of CSV. Each element must be a CSV::Cell.
Compares another row with self. rhs: an Array of cells. Each cell should be a CSV::Cell.
[Source]
# File csv.rb, line 77 def match(rhs) if self.size != rhs.size return false end for idx in 0...(self.size) unless self[idx].match(rhs[idx]) return false end end true end
Returns the strings contained in the row’s cells.
# File csv.rb, line 71 def to_a self.collect { |cell| cell.is_null ? nil : cell.data } end
[Validate]