Method: TableData::Table#each_row
- Defined in:
- lib/tabledata/table.rb
#each_row {|row| ... } ⇒ self
Iterate over all rows, header and body
210 211 212 213 214 215 216 |
# File 'lib/tabledata/table.rb', line 210 def each_row(&block) return enum_for(__method__) unless block @data.each(&block) self end |